3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo exec(' while(true) echo "Hit CTRL+C"; done');
based on GYLoY
Output for 5.4.39 - 7.1.0
Output for 4.3.1 - 5.4.38
sh: 1: Syntax error: word unexpected (expecting "do")
Output for 4.3.0
Warning: exec() [http://www.php.net/function.exec]: Unable to fork [ while(true) echo "Hit CTRL+C"; done] in /in/N6gj1 on line 2