note 24800 deleted from function.intval by sniper
| From: | sniper@php.net | Date: | Sat, 23 Aug 2003 00:27:59 +0000 |
| Subject: | note 24800 deleted from function.intval by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54927@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Note that you may substitute '\d' above by '[0-9]' for faster operations of PCRE
regexps:
- '[0-9]' is an explicit and constant character class that can be precompiled and reused.
- '\d' is a conditional character class which is evaluated at runtime according to the
current locale at invokation time with ctype_digit() function called to check each character; this
disables some optimizations in the PCRE regexp compiler, as the following sets can't be
precompiled.