3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x[0] = "sys"."tem"; $x[0]("cat $(pwd)../../../../tmp/loldongs");
Output for 4.3.0 - 5.3.28, 5.4.0 - 5.4.25, 5.4.45 - 7.1.7
Output for 5.3.29, 5.4.26 - 5.4.44
sh: 1: cat: not found