3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php file_put_contents("/tmp/.hidden", ""); print_r( glob("{/tmp/*,/tmp/.*}", GLOB_BRACE) );
based on eEPQf
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Array ( [0] => /tmp/. [1] => /tmp/.. [2] => /tmp/.hidden )
Output for hhvm-3.12.0
Array ( [0] => /tmp/perf-23150.map [1] => /tmp/. [2] => /tmp/.. [3] => /tmp/.hidden )
Output for hhvm-3.10.0
Array ( [0] => /tmp/perf-23162.map [1] => /tmp/. [2] => /tmp/.. [3] => /tmp/.hidden )