ctype functions going, going, gone?
| From: | Keryx Web | Date: | Tue, 14 Jul 2009 20:58:35 +0000 |
| Subject: | ctype functions going, going, gone? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-44963@lists.php.net to get a copy of this message | ||
Hi all!
I am preparing a Server Side Scripting (using PHP) course for the Web Standards Project Interact[1]. As I am going through security considerations I note that the ctype functions are being used in the manual[2] and have not been deprecated in 5.3. I have, however, been told that they are not, nor ever will be, Unicode compatible.[3]
If that indeed is the case:
A. Should they not be deprecated formally, including giving an appropriate error when used? (Yes, that will give some people, like me, lots of errors. But I rather take them now than have my code blow up on me in the future.)
B. Should not the the manual be telling people about these functions being non-future proof?
--
Keryx Web (Lars Gunther)
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/
1. http://interact.webstandards.org/
2. http://www.php.net/manual/en/security.filesystem.php
3. http://marc.info/?l=phpdoc&m=119678432606169
P.S. If you are interested in helping us at WaSP make an awesome
curriculum for our PHP course, contact me off list.