Re: 'odd' handling of $moo['bar'] where $moo is a string
| From: | Ian P. Christian | Date: | Thu, 09 Feb 2006 22:10:06 +0000 |
| Subject: | Re: 'odd' handling of $moo['bar'] where $moo is a string | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21829@lists.php.net to get a copy of this message | ||
On Thursday 09 February 2006 22:08, Sean Coates wrote:
> It's cast to an integer.
Ahh.. I see. That does make sense now as to why it results in the first char
in the array - however I still think it makes more sense not to cast, but
rather to give a fatal error.
Thanks,
--
Ian P. Christian
http://pookey.co.uk