Re: [PATCH] Notice on array to string convertion
| From: | Reindl Harald | Date: | Thu, 02 Jun 2011 13:03:42 +0000 |
| Subject: | Re: [PATCH] Notice on array to string convertion | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52763@lists.php.net to get a copy of this message | ||
Am 02.06.2011 14:56, schrieb Rune Kaagaard:
>> 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.
this is not a weird conversion this is a idiotic one destroying
data and 99 of 100 hosts never showing notices because you must
not do this on the webpage and on shared host you have no access
to the error-log - so what helps the notice
the warning still exists but how will you repair "Array" in
the textfiled of a database?
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc