3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo php.info();
Output for 7.2.0
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /in/f2cVm on line 2 Fatal error: Uncaught Error: Call to undefined function info() in /in/f2cVm:2 Stack trace: #0 {main} thrown in /in/f2cVm on line 2
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Uncaught Error: Call to undefined function info() in /in/f2cVm:2 Stack trace: #0 {main} thrown in /in/f2cVm on line 2
Process exited with code 255.
Output for hhvm-3.11.1, hhvm-3.13.2 - 3.17.3
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Uncaught Error: Call to undefined function info() in /in/f2cVm:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.12.14

Process exited with code 137.
Output for 5.0.0 - 5.6.30, hhvm-3.10.1
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Call to undefined function info() in /in/f2cVm on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Call to undefined function: info() in /in/f2cVm on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Call to undefined function: info() in /in/f2cVm on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant php - assumed 'php' in /in/f2cVm on line 2 Fatal error: Call to undefined function: info() in /in/f2cVm on line 2