#30945 [Opn->Ana]: must return FALSE
| From: | tony2001@php.net | Date: | Tue, 30 Nov 2004 16:50:49 +0000 |
| Subject: | #30945 [Opn->Ana]: must return FALSE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69652@lists.php.net to get a copy of this message | ||
ID: 30945
Updated by: tony2001@php.net
Reported By: zxc at zmail dot ru
-Status: Open
+Status: Analyzed
-Bug Type: Unknown/Other Function
+Bug Type: Strings related
Operating System: Windows XP SP2 RUS
PHP Version: 5.0.2
-Assigned To:
+Assigned To: tony2001
Previous Comments:
------------------------------------------------------------------------
[2004-11-30 17:13:32] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30945&edit=1