3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(glob('/dev/*'));
Output for 4.3.0 - 7.1.0
array(16) { [0]=> string(12) "/dev/console" [1]=> string(9) "/dev/core" [2]=> string(7) "/dev/fd" [3]=> string(9) "/dev/full" [4]=> string(8) "/dev/net" [5]=> string(9) "/dev/null" [6]=> string(9) "/dev/ptmx" [7]=> string(8) "/dev/pts" [8]=> string(11) "/dev/random" [9]=> string(8) "/dev/shm" [10]=> string(11) "/dev/stderr" [11]=> string(10) "/dev/stdin" [12]=> string(11) "/dev/stdout" [13]=> string(8) "/dev/tty" [14]=> string(12) "/dev/urandom" [15]=> string(9) "/dev/zero" }