Running PHP in memory

How can I not write the file to the GAE server, is there a way by which I can directly run the PHP code in memory without using the php file. BTW, I used Quercus to run PHP in GAE.
You can refer to the link: http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/
Thank you so much.

+3
source share
2 answers

You can use eval () from PHP to execute a line of PHP code without saving it to a file.

For instance:

eval('echo hi;'); // this echoes "hi"
+3
source

You can upload a file, you just cannot create it with code

, PHP, Quercus, , Python/PHP/Java, ,

, PHP ...

+2

Source: https://habr.com/ru/post/1796741/


All Articles