3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php exec(whoami);
Output for 4.3.0, 5.4.43 - 7.1.0
Notice: Use of undefined constant whoami - assumed 'whoami' in /in/vt29a on line 2
Output for 4.3.1 - 5.4.42
Notice: Use of undefined constant whoami - assumed 'whoami' in /in/vt29a on line 2 sh: 1: whoami: not found