Online PHP Sandbox

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox, please include <?php tag at first:

Press F11 to switch to fullscreen mode

Your result can be seen below.

Result of php executing

About Online PHP Sandbox

What is PHP?

PHP (Hypertext PreProcessor) - PHP is a server side scripting language designed primarily for web development. PHP code may be embedded into HTML, or it can be used in combination with various web template systems ,web content management systems and web frameworks.

About PHP Online Sandbox

This Online PHP Sandbox works with a whitelist of functions. All functions that do require disk, system or network access are blacklisted, others whitelisted. Max execution time is set to 3 seconds.

If you find a disabled function that should be whitelisted or if you run into other problems, please contact us.

For echo output line break, need to use PHP_EOL or \n

Test your PHP code online without the need of a web server.

How it Works?

Just paste your PHP code to the textarea above and click to the button "Execute" and you will get result of executing PHP code.