Re: [PATCH] Notice on array to string convertion
| From: | Peter Lind | Date: | Thu, 02 Jun 2011 15:01:22 +0000 |
| Subject: | Re: [PATCH] Notice on array to string convertion | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52783@lists.php.net to get a copy of this message | ||
On 2 June 2011 16:50, Reindl Harald <h.reindl@thelounge.net> wrote:
>
>
> Am 02.06.2011 16:24, schrieb Marcel Esser:
>> I am not convinced that making this an error is a good idea.
>>
>> If I receive a $_GET/$_POST value that I expect to be a string value, but I actually
>> received an array, this would
>> mean I need to now explicitly check for it, since it will stop the runtime otherwise.
>
> so fix your code jesus christ
How about you take your medication, then chill down, then consider
your messages a couple of times before sending? It would make the
atmosphere quite a bit nicer.
Regards
Peter
--
<hype>
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
</hype>