Re: Re: can i rely on ctype?
| From: | Johannes Schlüter | Date: | Mon, 16 Jul 2007 09:37:44 +0000 |
| Subject: | Re: Re: can i rely on ctype? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30963@lists.php.net to get a copy of this message | ||
Hi Lukas,
On Mon, 2007-07-16 at 08:48 +0200, Lukas Kahwe Smith wrote:
> can you gives us a clarification on the question on if ctype will infact
> be deprecated in PHP6?
ctype is not UTF-16 aware and therefore won't work with PHP 6 unicode
strings. Instead of ctype there are functions offered by ICU which will
be available for PHP 6.
So even if it ould be shipped with PHP 6 it, most likely, won't be
useful. And I doubt it makes sense to use ctype functions wrapping ICU,
but this might be done using PEAR's PHP_Compat or something.
johannes