3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(glob('sys/kernel/*') as $o) { echo $o.PHP_EOL; }
based on X8faX
Output for 5.6.28, 7.0.14 - 7.1.0
sys/kernel/boot_params sys/kernel/config sys/kernel/debug sys/kernel/fscache sys/kernel/fscaps sys/kernel/iommu_groups sys/kernel/kexec_crash_loaded sys/kernel/kexec_crash_size sys/kernel/kexec_loaded sys/kernel/mm sys/kernel/notes sys/kernel/profiling sys/kernel/rcu_expedited sys/kernel/rcu_normal sys/kernel/security sys/kernel/slab sys/kernel/tracing sys/kernel/uevent_seqnum sys/kernel/vmcoreinfo
Output for 5.2.3 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.10
sys/kernel/boot_params sys/kernel/config sys/kernel/debug sys/kernel/fscaps sys/kernel/iommu_groups sys/kernel/kexec_crash_loaded sys/kernel/kexec_crash_size sys/kernel/kexec_loaded sys/kernel/mm sys/kernel/notes sys/kernel/profiling sys/kernel/rcu_expedited sys/kernel/rcu_normal sys/kernel/security sys/kernel/slab sys/kernel/tracing sys/kernel/uevent_seqnum sys/kernel/vmcoreinfo
Output for 4.3.0 - 4.3.6, 4.3.9 - 5.2.2
Output for 4.3.7 - 4.3.8
Warning: Invalid argument supplied for foreach() in /in/Zcib8 on line 3