3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php system('which ls');
based on K3nld
Output for 4.3.0, 5.4.39, 5.4.41 - 5.6.28, 7.0.0 - 7.1.0
Output for hhvm-3.10.0 - 3.12.0
Failed to exec: `which ls'
Output for 5.4.40
Warning: system(): Unable to fork [which ls] in /in/M2WVZ on line 2
Output for 4.3.1 - 5.4.38
sh: 1: which: not found