subtlepatterns/SubtlePatterns — pull request #7 by BaylorRae (2012-09-19 17:32:48+00:00)
Title: Remove foreach loop in demo.php

The [`glob()`](http://php.net/glob) function can expand arguments within curly braces. This allows you write the following.

```php
$files = glob('*.{png,jpg,jpeg}', GLOB_BRACE);
```

The above code will find all files in the current directory that have an image extension without using a `foreach` loop.