glob() With Hidden Files

By default, the glob() function list only files that don’t start with a dot. With the GLOB_BRACE option, it is possible to list all files, and even filter out the evergreen ‘.’ and ‘..’.

../_images/glob_with_hidden_files.png