3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(`/bin/bash -c 'locate php'`);
Output for 5.4.44 - 7.1.0
NULL
Output for 5.0.0 - 5.4.43
NULL sh: 1: /bin/bash: not found
Output for 4.3.1 - 4.4.9
string(0) "" sh: 1: /bin/bash: not found
Output for 4.3.0
string(0) ""