#19834 [Opn->Bgs]: switch case failure
| From: | sander@php.net | Date: | Wed, 09 Oct 2002 17:44:56 +0000 |
| Subject: | #19834 [Opn->Bgs]: switch case failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21960@lists.php.net to get a copy of this message | ||
ID: 19834
Updated by: sander@php.net
Reported By: n.poulden@ntlworld.com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-10-09 12:29:40] n.poulden@ntlworld.com
This also seems to be the case with 'if'
------------------------------------------------------------------------
[2002-10-09 12:20:08] n.poulden@ntlworld.com
when performing a switch case on large strings, the function seems to
fail.
for example:
$str="000001011110011110000001000001011110011110000001";
switch($str) {
case "000001011110011110000001000001000111000111011001":
echo "checking: $str - case:
000001011110011110000001000001000111000111011001";
break;
case "000001011110011110000001000001011110011110000001":
echo "checking: $str - case:
000001011110011110000001000001011110011110000001";
break;
}
This will show the error.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19834&edit=1