3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(assert('shell_exec("ping google.com")'));
based on ql3oi
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/a1lHY on line 3 Warning: assert(): Assertion "shell_exec("ping google.com")" failed in /in/a1lHY on line 3 bool(false)
Output for 7.0.1 - 7.1.10
Warning: assert(): Assertion "shell_exec("ping google.com")" failed in /in/a1lHY on line 3 bool(false)
Output for 4.3.2 - 7.0.0
Warning: assert(): Assertion "shell_exec("ping google.com")" failed in /in/a1lHY on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion "shell_exec("ping google.com")" failed in /in/a1lHY on line 3 NULL