Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73227 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40309 invoked from network); 17 Mar 2014 18:34:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2014 18:34:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.50 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.192.50 mail-qg0-f50.google.com Received: from [209.85.192.50] ([209.85.192.50:34627] helo=mail-qg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/1B-17561-25047235 for ; Mon, 17 Mar 2014 13:34:58 -0500 Received: by mail-qg0-f50.google.com with SMTP id q108so17731397qgd.9 for ; Mon, 17 Mar 2014 11:34:56 -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=kwcl/3NJIBs9ghiyU5fqaAeRan7L+Hc13acWXR5I36k=; b=HjnETWNeeD6SejaJ7UuPp3AVa4mDWTHezIRzXkK7s+XKmSbuJkQ5TRslXxmxmtCTwN 5C8YigGp26heAr7NRrMQbEEEUE9QTAWfjYpmn1NbBQxkBKMVu/rz5QIjU7Yxd52w6asm BHAwTmamyGx50H1GuewE3FJ8LXudnEmenNwMurrr1KMCOa2ak/Fx0Kj4S5DjxF8hYgDY N3sCUO9yw8JuSvMZ3COy3VZi6bLspKzfBzJ3WoiPxa6gSFPjkzaBEnABa+IX3OfzxYjo glHkE4sUckUfNHZtBOJSUmo12cGjdZp4S2bbeXbLyfE/wz46jELChRkxdwtrUoU0OhzS 2auQ== MIME-Version: 1.0 X-Received: by 10.224.93.10 with SMTP id t10mr4917460qam.82.1395081295886; Mon, 17 Mar 2014 11:34:55 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.224.126.72 with HTTP; Mon, 17 Mar 2014 11:34:55 -0700 (PDT) In-Reply-To: References: <5322BFA6.7060707@fedoraproject.org> Date: Mon, 17 Mar 2014 18:34:55 +0000 X-Google-Sender-Auth: 5Gmt1brTjz6j8LPqpPZJw_ei18A Message-ID: To: David Soria Parra Cc: PHP internals list Content-Type: multipart/alternative; boundary=089e0149d15613312f04f4d1ad89 Subject: Re: [PHP-DEV] New JSON parser From: bukka@php.net (Jakub Zelenka) --089e0149d15613312f04f4d1ad89 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 17, 2014 at 5:45 PM, David Soria Parra wrote: > > have you been testing this with a json testing library like > https://code.google.com/p/json-test-suite/ ? > Not yet. I will definitely have a look. > > I really like your project, but we have to be very very careful when it > comes to json adn make sure it supports everything the current json lib > supports. > > I agree with you 100%. Currently it passes all ext/json tests that should cover lots of cases but definitely need to do more testing. Thanks Jakub On Mon, Mar 17, 2014 at 5:45 PM, David Soria Parra wrote: > Jakub Zelenka schrieb: > > --001a11330a7413861304f4aa17a7 > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On Fri, Mar 14, 2014 at 8:36 AM, Remi Collet > wrote: > > > >> > >> Can you pull all the test suite from official ext/json to check if it is > >> a dropin alternative ? > > > > > > Done! ;) I just renamed json to jsond. All tests pass for me. Just one > skip > > for 32bit test (pass001.1.phpt) but it's 64bit variant is fine. If > someone > > could try that test, that would be great. > > > > It's tested only with PHP master branch and apparently not compile under > > 5.5. I will have a look on older PHP versions and fix it later. Also need > > to improve build and do more benchmarking. > > > > Any testing, ideas and comments will be appreciated... ;) > > > > Thanks > > > > Jakub > > > > --001a11330a7413861304f4aa17a7-- > > have you been testing this with a json testing library like > https://code.google.com/p/json-test-suite/ ? > > I really like your project, but we have to be very very careful when it > comes to json adn make sure it supports everything the current json lib > supports. > > -David > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e0149d15613312f04f4d1ad89--