ID: 11820
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Not a bug, if you use a 0 before a number, it is treated like an octal number.
08 and 09 are not valid in the octal system. Just use 8 and 9 and it will work fine.
Derick
Previous Comments:
---------------------------------------------------------------------------
[2001-07-01 04:42:12] [EMAIL PROTECTED]
switch (0)
{
case 01: echo "1Shit";
break;
case 02: echo "2Shit";
break;
case 03: echo "3Shit";
break;
case 04: echo "4Shit";
break;
case 05: echo "5Shit";
break;
case 06: echo "6Shit";
break;
case 07: echo "7Shit";
break;
case 08: echo "8Shit";
break;
case 09: echo "9Shit";
break;
case 10: echo "8Shit";
break;
}
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11820&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]