3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php assert(exec('whoami'));
based on 4vnkf
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/tNaTp on line 2 Warning: assert(): assert(exec('whoami')): "" failed in /in/tNaTp on line 2
Output for 7.0.0 - 7.1.10
Warning: assert(): assert(exec('whoami')): "" failed in /in/tNaTp on line 2
Output for 5.3.20 - 5.6.28
Warning: assert(): Assertion "" failed in /in/tNaTp on line 2