3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_SERVER[PHP_SELF] = (int) 0; phpinfo();
Output for 7.2.0
Warning: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' (this will throw an Error in a future version of PHP) in /in/KX2l7 on line 2 Warning: phpinfo() has been disabled for security reasons in /in/KX2l7 on line 3
Output for 5.3.0 - 7.1.10
Notice: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' in /in/KX2l7 on line 2 Warning: phpinfo() has been disabled for security reasons in /in/KX2l7 on line 3