|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-12 15:51 UTC] mike@php.net
-Status: Open
+Status: Bogus
[2010-05-12 15:51 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 06:00:02 2025 UTC |
Description: ------------ I ran a test of numbers from -1000 to 1000. I passed the values into 'ctype_alpha', which I expected ALL output to be "Failure::xx". However, I receive "Success::xx" output on a variety of numbers from -125 to 255. Test script: --------------- for ($x = -1000;$x < 1000;$x++) { echo ((ctype_alpha ($x)) ? "Success::{$x}" : "Failure::{$x}") . PHP_EOL; } Expected result: ---------------- I expect to see nothing but "Failure::{xx}" all the way down.