Skip to content

Commit

Permalink
Added comparison with glob() to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Dec 23, 2015
1 parent 4100055 commit e6dbe44
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ Syntax:

[API Documentation]

Comparison with glob()
----------------------

Compared to PHP's native `glob()` function, this utility supports:

* `/**/` for matching zero or more directories
* globbing custom stream wrappers, like `myscheme://path/**/*.css`
* matching globs against path strings
* filtering arrays of path strings by a glob

Since PHP's native `glob()` function is much more efficient, this utility uses
`glob()` internally whenever possible (i.e. when no special feature is used).

Installation
------------

Expand Down

0 comments on commit e6dbe44

Please sign in to comment.