|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-11-30 17:13 UTC] zxc at zmail dot ru
Description:
------------
Hello everybody, I think, I found a bug
(I'm using latest versions: 4.3.10RC1 & PHP 5.0.2)
The FUNCTION ctype_alnum() must return FALSE in my case... but return TRUE.
I'm sorry for my english.
Reproduce code:
---------------
<?
if(ctype_alnum(""))
exit("ok");
else
exit("error")
?>
Expected result:
----------------
error
Actual result:
--------------
ok
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
<? var_dump(ctype_alnum("")); // TRUE // ^ but must return FALSE - error var_dump(ctype_alnum(null)) // FALSE // ^ return FALSE - ok ?>