Re: Leading zeros in array index
| From: | Kent Briggs | Date: | Sat, 20 Apr 2002 00:14:33 +0000 |
| Subject: | Re: Leading zeros in array index | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93771@lists.php.net to get a copy of this message | ||
"Joshua B. Jore" wrote:
>
> Oh it's probably because your numbers are being interpreted as octal.
> Either use the array as '00' .. '09' or just 0 .. 9. 00 .. 09 is valid for
> 00 to 07 but there is no such thing as 08 and 09 in octal.
Ok, thanks.
--
Kent Briggs, kbriggs@briggsoft.com
Briggs Softworks, http://www.briggsoft.com