Re: [PATCH] Notice on array to string convertion
| From: | Rune Kaagaard | Date: | Thu, 02 Jun 2011 12:56:28 +0000 |
| Subject: | Re: [PATCH] Notice on array to string convertion | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52762@lists.php.net to get a copy of this message | ||
> this conversion should never happen and throw a fatal error since this
> action is destructive to data and never useful nor will warnings/notices
> helps in the real world
Unlike i.e. Python its really not the PHP way to go fatal on the
developer during weird type conversions. I'm also +1 on the E_NOTICE.