Re: Maybe BUG.
| From: | Stanislav Malyshev | Date: | Thu, 29 Jun 2000 09:57:55 +0000 |
| Subject: | Re: Maybe BUG. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22729@lists.php.net to get a copy of this message | ||
BH>> I think it's unusual that a number with a leading zero is considered
BH>> equivalent to zero. Is there a reason behind this "feature"?
It isn't. Numbers starting from "0" are considered octal. There's not
octal digit 8, so you get "0" because PHP is trying to be nice and not
refuse to speak with you after you've proposed it to eat "8" and "9" as
octal digits.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665