3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo system(whoami); ?>
Output for 5.6.28, 7.0.14 - 7.1.0
Notice: Use of undefined constant whoami - assumed 'whoami' in /in/BSEl3 on line 1
Output for 4.3.2 - 5.6.25, 7.0.0 - 7.0.10
Notice: Use of undefined constant whoami - assumed 'whoami' in /in/BSEl3 on line 1 Warning: system(): Unable to fork [whoami] in /in/BSEl3 on line 1
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant whoami - assumed 'whoami' in /in/BSEl3 on line 1 Warning: system() [http://www.php.net/function.system]: Unable to fork [whoami] in /in/BSEl3 on line 1