3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eval(phpinfo); ?>
based on 3T3Cq
Output for 7.2.0 - 7.3.1
Warning: Use of undefined constant phpinfo - assumed 'phpinfo' (this will throw an Error in a future version of PHP) in /in/YDFaK on line 3 Parse error: syntax error, unexpected end of file in /in/YDFaK(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.25
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/YDFaK on line 3 Parse error: syntax error, unexpected end of file in /in/YDFaK(3) : eval()'d code on line 1
Process exited with code 255.
Output for hhvm-3.22.0
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/YDFaK on line -1 Fatal error: syntax error, unexpected $end in /in/YDFaK(-1)(3be2a3b771431f2096ff984899869fa6) : eval()'d code on line -1
Output for hhvm-3.10.1 - 3.21.3
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/YDFaK on line 3 Fatal error: syntax error, unexpected $end in /in/YDFaK(3)(3be2a3b771431f2096ff984899869fa6) : eval()'d code on line 1
Output for 5.4.11 - 5.6.38
Notice: Use of undefined constant phpinfo - assumed 'phpinfo' in /in/YDFaK on line 3 Parse error: syntax error, unexpected end of file in /in/YDFaK(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/YDFaK on line 3 Parse error: syntax error, unexpected $end in /in/YDFaK(3) : eval()'d code on line 1
Process exited with code 255.