Re: json_encode() behavior for incorrectly encoded strings

From: Date: Thu, 21 Jun 2012 12:37:06 +0000
Subject: Re: json_encode() behavior for incorrectly encoded strings
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60922@lists.php.net to get a copy of this message
hi, On Thu, Jun 21, 2012 at 11:21 AM, Nikita Popov <nikita.ppv@googlemail.com> wrote: >> 5.3 should be brought in line with 5.4. > So you think that the corrected code should be backed out from PHP 5.3 > and the incorrect 5.4/master behavior be restored? For the warning yes. For the rest, it should imo return false as well, partial encoding or magic replacements make no sense here. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#60922) next »