3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "phpinfo"; $a('qwe');
Output for 5.4.34 - 5.6.28, 7.0.0 - 7.1.0
Warning: phpinfo() has been disabled for security reasons in /in/6X0tS on line 2
Output for hhvm-3.10.0 - 3.12.0
Catchable fatal error: Argument 1 passed to phpinfo() must be an instance of int, string given in /in/6X0tS on line 2
Process exited with code 255.
Output for 4.3.1 - 5.4.32
Warning: phpinfo() expects parameter 1 to be long, string given in /in/6X0tS on line 2
Output for 4.3.0
Warning: phpinfo,mail() has been disabled for security reasons in /in/6X0tS on line 2