phpNowJson

phpNowJson ( string command ) : object

Execute now PHP code and return an OBJECT. Use echo json_encode( .... ); to return the object in PHP.
Do not forget ; at the end of commands to respect the PHP syntax.

See also

php
phpNow

Example


myMap = phpNowJson("echo json_encode(['key' => 'value']);")

Parameters

command