facebook/hhvm — pull request #1442 by brandonwamboldt (2013-12-27 04:27:36+00:00)
Title: Fix preg_match returning false instead of null

`preg_match`/`preg_match_all` should return `NULL` not `FALSE` when invalid flags are passed.

Example:

```php