ctype functions equivalents

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ricky Romaya

    ctype functions equivalents

    Hi,

    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
    modules?

    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).

    TIA
Working...