3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('zend.assertions', -1); assert('phpinfo();');
Output for 7.2.2
Warning: zend.assertions may be completely enabled or disabled only in php.ini in /in/933gm on line 3 Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/933gm on line 4 Warning: phpinfo() has been disabled for security reasons in /in/933gm(4) : assert code on line 1 Warning: assert(): Assertion "phpinfo();" failed in /in/933gm on line 4