create php file online code example
Example: php online editor
Try this sites to write php code online:
http://www.writephponline.com/
http://sandbox.onlinephpfunctions.com/
https://paiza.io/en/projects/new
http://phptester.net/
https://www.tutorialspoint.com/execute_php_online.php
https://rextester.com/l/php_online_compiler
http://phpfiddle.org/
https://repl.it/languages/php_cli
https://www.jdoodle.com/php-online-editor/