note 81391 deleted from function.ctype-alnum by thiago
| From: | thiago@php.net | Date: | Tue, 28 Oct 2008 17:19:47 +0000 |
| Subject: | note 81391 deleted from function.ctype-alnum by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145892@lists.php.net to get a copy of this message | ||
Note Submitter: kostromin at gmail com
----
@ ben at onshop dot co dot uk
Your example is the slowest possible way to do it.
The whole idea behind using ctype_alnum is that it is much faster than a regexp.
If you have to use regexp, at least use PCRE, not POSIX.