3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_replace_callback("/./", assert(phpinfo()), 1); ?>
Output for 7.0.0 - 7.1.0
Warning: phpinfo() has been disabled for security reasons in /in/drgBb on line 1 Warning: assert(): assert(phpinfo()) failed in /in/drgBb on line 1 Warning: preg_replace_callback(): Requires argument 2, '', to be a valid callback in /in/drgBb on line 1
Output for 5.3.0 - 5.6.28
Warning: phpinfo() has been disabled for security reasons in /in/drgBb on line 1 Warning: assert(): Assertion failed in /in/drgBb on line 1 Warning: preg_replace_callback(): Requires argument 2, '', to be a valid callback in /in/drgBb on line 1