ctype functions equivalents

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I'm using PHP 4.2.6 on win2k and wants to use ctype family functions. To my
surprise, PHP whines that it's not recognized. IINM the manual says that
builtin supports for these functions are available on v4.3.0. Anybody knows
equivalent functions which are 4.2.6 compatible which doesn't need extra

I'm particularly interested on ctype_alpha. If there are no equivalent
functions available, could someone tell me the regex to simulate it's
functionality? '\w' does the job, but I also wants to remove numerics, and
it's compatible for several languages which uses special characters (i.e.
'[a-zA-Z]' some characters used in french).


Site Timeline