note 76868 deleted from function.preg-match-all by nlopess
| From: | nlopess@php.net | Date: | Wed, 08 Aug 2007 15:32:42 +0000 |
| Subject: | note 76868 deleted from function.preg-match-all by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129327@lists.php.net to get a copy of this message | ||
Note Submitter: baxil at tomorrowlands dot NOSPAM dot org
----
Be careful to specify the flag PREG_SET_ORDER if you want the matches array to behave as described
under "matches". The behavior described there is not actually the default! The default
behavior is what's shown under the PREG_PATTERN_ORDER flag.
Hopefully this documentation bug (http://bugs.php.net/bug.php?id=42159) will be fixed soon, but
until then, check your flags.