Re: json_encode()
| From: | mike | Date: | Mon, 15 Dec 2008 21:18:34 +0000 |
| Subject: | Re: json_encode() | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42273@lists.php.net to get a copy of this message | ||
On Mon, Dec 15, 2008 at 1:10 PM, troels knak-nielsen <troelskn@gmail.com> wrote:
> I, for one, think that the only sane choices are 1 or 2. The third
> option is way too magic, and will end up confusing people.
In that case I would have to go for #2.
Personally I want to see PHP be as standards-compliant and compatible
with everything out there. I don't want non-standard behaviors in PHP
to be the things that make it a harder sell when I am pushing it in
everything I do. This is a language interoperability issue (more or
less) and rather than being lazy and persisting the same behavior, I
am trying to push very hard to make it work as JSON consumers expect.