3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eval(phpinfo);
Output for 7.2.0
Warning: Use of undefined constant phpinfo - assumed 'phpinfo' (this will throw an Error in a future version of PHP) in /in/3T3Cq on line 3 Parse error: syntax error, unexpected end of file in /in/3T3Cq(3) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.10, 7.0.0 - 7.1.10
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/3T3Cq on line 3 Parse error: syntax error, unexpected end of file in /in/3T3Cq(3) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/3T3Cq on line 3 Parse error: syntax error, unexpected end of file in /in/3T3Cq(3) : eval()'d code on line 1
Output for 5.3.19 - 5.3.29
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/3T3Cq on line 3 Parse error: syntax error, unexpected $end in /in/3T3Cq(3) : eval()'d code on line 1
Process exited with code 255.