3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(glob('/sys/*'));
Output for 5.5.24 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(7) { [0]=> string(10) "/sys/block" [1]=> string(8) "/sys/bus" [2]=> string(10) "/sys/class" [3]=> string(8) "/sys/dev" [4]=> string(12) "/sys/devices" [5]=> string(7) "/sys/fs" [6]=> string(11) "/sys/kernel" }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.4.45
array(11) { [0]=> string(10) "/sys/block" [1]=> string(8) "/sys/bus" [2]=> string(10) "/sys/class" [3]=> string(8) "/sys/dev" [4]=> string(12) "/sys/devices" [5]=> string(13) "/sys/firmware" [6]=> string(7) "/sys/fs" [7]=> string(15) "/sys/hypervisor" [8]=> string(11) "/sys/kernel" [9]=> string(11) "/sys/module" [10]=> string(10) "/sys/power" }