note 60307 deleted from ref.ctype by danbrown
| From: | danbrown@php.net | Date: | Sun, 15 Mar 2009 15:00:50 +0000 |
| Subject: | note 60307 deleted from ref.ctype by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151968@lists.php.net to get a copy of this message | ||
Note Submitter: avarab at gmail dot com
----
In case the ctype_*() functions aren't compiled in your PHP and you can't recompile for
some reason (e.g. shared host) you can use the compatability functions from the MediaWiki project
which use preg_* as a replacement[1], removing lines 2 and 3 in the source should make them suitable
for usage elsewhere.
Shameless self-advertisement, but hey, we find them useful;)
1. A tinyurl because the submission script complained about long lines: http://tinyurl.com/7hz4l
1. The real url split up:
http://cvs.sourceforge.net/viewcvs.py/*checkout*/
wikipedia/phase3/includes/compatability/ctype.php