3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo exec('cd in && pwd');
based on k7IcB
Output for 4.3.0, 5.4.45 - 7.1.0
Output for 5.2.3 - 5.4.44
/in
Output for 4.3.1 - 5.2.2
sh: 1: cd: can't cd to in