Can PHP’s glob() be made to find files in a case insensitive manner?

Glob patterns support character ranges:

glob('my/dir/*.[cC][sS][vV]')

Leave a Comment