Re: [PATCH] Notice on array to string convertion

From: Date: Thu, 02 Jun 2011 13:11:56 +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-52765@lists.php.net to get a copy of this message
Am 02.06.2011 15:04, schrieb John LeSueur: > On Thu, Jun 2, 2011 at 6:24 AM, Reindl Harald <h.reindl@thelounge.net>wrote: > First, I agree that converting to json/imploding would be a bad idea. > There's no guarantee that the developer wanted to use the array in that way, or even > that he wanted to use the array at all instead of some element inside the > array. and the dveloper surely wanted NOT write destroyed data somewhere > Instead, this is an indication that you're probably doing something wrong. leave the world "probably" out > However, fatal errors should be reserved for when the engine cannot > continue. the engine can not continue anything useful after passing an array to a string function > P.S. your use of the words braindead/crap hurts your argument. :) maybe but i find no other for such ideas P.S: would you and some others please only reply to the list and stop converting plaintext mails to html-messages?

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#52765) next »