Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88309 invoked from network); 13 Apr 2014 19:08:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2014 19:08:13 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.180 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.216.180 mail-qc0-f180.google.com Received: from [209.85.216.180] ([209.85.216.180:38028] helo=mail-qc0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/A2-07320-A90EA435 for ; Sun, 13 Apr 2014 15:08:12 -0400 Received: by mail-qc0-f180.google.com with SMTP id w7so7983847qcr.39 for ; Sun, 13 Apr 2014 12:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DwxZ4hNuzX5kaXmt4Fz0Sdqy6NhIR8aW2q4CkOFsEXo=; b=W/WS/F1MeuYkWf6A24Xh6cQhJJeNyWCK75fo0rHnFdPdpSB2siVaK985p9Gkhnn8pR cprUqdEYdbLm4g5zvK+7k9AVsQzAfJU70+oET1Efvj6AfLJFhkGY5TddiI+5tl3E2FSL LI21Daf94gQda2FqRma9PUf1tt1LZaWyfiOaX5pcRpWsiu5y7kvr6Ume7A7ZEAt04Yfz j7whpakygnha6YGp9TLFG+PHbJQTu/8BJD9p3Djqjv6ME61jcJUlXGQi+DVRxm93YQlk bw/ZmM8iV+MJc7ib9NKs/5IzNRCRDQjGKIAl/7Hn5PP18DX5D2J0a23mZ2w4QGdWBSg0 CuqA== MIME-Version: 1.0 X-Received: by 10.140.17.81 with SMTP id 75mr43188818qgc.35.1397416088052; Sun, 13 Apr 2014 12:08:08 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.224.207.138 with HTTP; Sun, 13 Apr 2014 12:08:07 -0700 (PDT) In-Reply-To: <9F.E5.33769.AFE55435@pb1.pair.com> References: <9F.E5.33769.AFE55435@pb1.pair.com> Date: Sun, 13 Apr 2014 20:08:07 +0100 X-Google-Sender-Auth: ZRKjU69jTX5F_62atE3gCW27Uho Message-ID: To: =?ISO-8859-1?Q?Jan_Tvrd=EDk?= Cc: PHP internals list Content-Type: multipart/alternative; boundary=001a11c0f5f68828a604f6f149a2 Subject: Re: [PHP-DEV] Re: New JSON parser From: bukka@php.net (Jakub Zelenka) --001a11c0f5f68828a604f6f149a2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Apr 9, 2014 at 3:53 PM, Jan Tvrd=EDk wrote: > Hi Jakub, > I've just tested JSOND 1.3 on Windows and discovered some > incompatibilities with JSON implementation in 5.5.9. All of those > incompatibilities are PHP's syntax extensions over the RFC and are mostly > related to parsing of numbers. > > See https://gist.github.com/JanTvrdik/10277952#file-test-php-L43-L61 > > > Hi, Thanks for finding these differences. I consider them as bugs in the current json implementation as they are not compatible with the ECMA-404 standard. Actually the top level is not even compatible with the level 1+... :) I have added notes about that to the https://github.com/bukka/php-jsond/blob/master/UPGRADE.md Cheers Jakub --001a11c0f5f68828a604f6f149a2--