3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_put_contents("/tmp/.hidden", ""); print_r( glob("/tmp/{*,.*}", GLOB_BRACE) );
based on fKODV
Output for 5.4.0 - 7.2.0
Array ( [0] => /tmp/. [1] => /tmp/.. [2] => /tmp/.hidden )