Re: 'odd' handling of $moo['bar'] where $moo is a string
| From: | Sean Coates | Date: | Thu, 09 Feb 2006 22:15:45 +0000 |
| Subject: | Re: 'odd' handling of $moo['bar'] where $moo is a string | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21830@lists.php.net to get a copy of this message | ||
> 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.
PHP autocasts everywhere. This would break years worth (and thousands)
of applications.
S