Re: [PATCH] Notice on array to string convertion
| From: | Philip Olson | Date: | Thu, 02 Jun 2011 15:24:02 +0000 |
| Subject: | Re: [PATCH] Notice on array to string convertion | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52786@lists.php.net to get a copy of this message | ||
On Jun 2, 2011, at 8:01 AM, Peter Lind wrote:
> 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.
We all have our bad days and times when pressing submit fast feels like a good idea, but we do cover
the topic here:
- http://php.net/reST/php-src/trunk_README.MAILINGLIST_RULES
It's good to digest this every so often, especially as a thread grows.
Regards,
Philip