Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80415 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2581 invoked from network); 12 Jan 2015 10:24:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2015 10:24:06 -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.223.177 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.223.177 mail-ie0-f177.google.com Received: from [209.85.223.177] ([209.85.223.177:63933] helo=mail-ie0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/91-26669-5C0A3B45 for ; Mon, 12 Jan 2015 05:24:05 -0500 Received: by mail-ie0-f177.google.com with SMTP id rd18so24317038iec.8 for ; Mon, 12 Jan 2015 02:24:02 -0800 (PST) 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=s1jJO+HorJ687hdzkE8j1CEELOilRx2v0VT+xG5VKPo=; b=de1Qlp0AlbCa0XKJ1JxRk2SNTTj93+W8fswEYBxrzLa8r4lcGGu8JV5b4rpIaViswD JCrJj3TTgtuJZQxiprYDVEiwKQDz+/eHoVaKbWodTUw81TKtnvopeXZIbIk1RRapdLRP vxJ7n5t6ZrL6YamlyAnoLBtcMg0iUKv2K1LaSGG4wpqy9K/gk3sowYGUOsXTVHuVFUEq 4pp56aWV9J+i3NeLapGYydu0FWjWBdauTMCs+eLhie7A0RLysM0V2T/hZJfskMVEYZEt nLsiRXF8hoqaM6vHuv32tvdZA5DY7EOsbCGHNcuXpBveRqOIfUBwkmg+IxNkdMYop1ON nvuQ== MIME-Version: 1.0 X-Received: by 10.107.15.73 with SMTP id x70mr26432207ioi.8.1421058242350; Mon, 12 Jan 2015 02:24:02 -0800 (PST) Sender: jakub.php@gmail.com Received: by 10.107.11.30 with HTTP; Mon, 12 Jan 2015 02:24:02 -0800 (PST) In-Reply-To: References: Date: Mon, 12 Jan 2015 10:24:02 +0000 X-Google-Sender-Auth: kjMDHKJmyuOdQG9x8BQoTgYB6xI Message-ID: To: Xinchen Hui Cc: PHP internals list Content-Type: multipart/alternative; boundary=001a113e8678bd9300050c71e7f8 Subject: Re: [PHP-DEV] [RFC] jsond From: bukka@php.net (Jakub Zelenka) --001a113e8678bd9300050c71e7f8 Content-Type: text/plain; charset=UTF-8 Hey On Mon, Jan 12, 2015 at 3:01 AM, Xinchen Hui wrote: > > does master of josnd already works with PHP7? > > There is a patch against PHP master that replaces current json ext. I referenced a branch of my PHP fork in RFC. I have just created a PR as well to make it a bit easier if you or others want to test it and possibly comment on it: https://github.com/php/php-src/pull/993 The jsond pecl ext does not compile on master. I want to keep as an alternative json extension for PHP 5 so it needs to compile on 5. There also are some extra things (e.g. alternative buffer implementation) that I didn't want to have as a part of this patch. I might make it compilable on both later but it's not a priority at the moment. Anyway the patch in the PR should work ok. If not, please let me know and I will fix it ;) > I was plan to benchmark the performance with wordpress, > > Great! Please let me know what the results are! ;) Cheers Jakub --001a113e8678bd9300050c71e7f8--