#19834 [Com]: switch case failure
ID: 19834 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4.2.3 New Comment: This also seems to be the case with 'if' Previous Comments: [2002-10-09 12:20:08] [EMAIL PROTECTED] when performing a switch case on large strings, the function seems to fail. for example: $str="0100000101000001"; switch($str) { case "0100000101000111000111011001": echo "checking: $str - case: 0100000101000111000111011001"; break; case "0100000101000001": echo "checking: $str - case: 0100000101000001"; break; } This will show the error. -- Edit this bug report at http://bugs.php.net/?id=19834&edit=1
#19834 [NEW]: switch case failure
From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 4.2.3 PHP Bug Type: Unknown/Other Function Bug description: switch case failure when performing a switch case on large strings, the function seems to fail. for example: $str="0100000101000001"; switch($str) { case "0100000101000111000111011001": echo "checking: $str - case: 0100000101000111000111011001"; break; case "0100000101000001": echo "checking: $str - case: 0100000101000001"; break; } This will show the error. -- Edit bug report at http://bugs.php.net/?id=19834&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19834&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19834&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19834&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19834&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19834&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=19834&r=support Expected behavior: http://bugs.php.net/fix.php?id=19834&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=19834&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=19834&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19834&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19834&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19834&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19834&r=isapi