3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(glob('/proc/self/fd/*'));
Output for 7.1.20 - 7.3.1
Output for 4.3.0 - 7.1.0, 7.1.7 - 7.1.10
Array ( [0] => /proc/self/fd/0 [1] => /proc/self/fd/1 [2] => /proc/self/fd/2 [3] => /proc/self/fd/3 )
Output for 7.1.5 - 7.1.6
Array ( [0] => /proc/self/fd/0 [1] => /proc/self/fd/1 [2] => /proc/self/fd/2 [3] => /proc/self/fd/3 [4] => /proc/self/fd/4 )