Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43960 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90572 invoked from network); 14 May 2009 20:11:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2009 20:11:27 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 209.85.200.171 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 209.85.200.171 wf-out-1314.google.com Received: from [209.85.200.171] ([209.85.200.171:14536] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/16-27038-DEA7C0A4 for ; Thu, 14 May 2009 16:11:25 -0400 Received: by wf-out-1314.google.com with SMTP id 28so822802wfc.26 for ; Thu, 14 May 2009 13:11:22 -0700 (PDT) Received: by 10.142.162.9 with SMTP id k9mr831581wfe.164.1242331882343; Thu, 14 May 2009 13:11:22 -0700 (PDT) Received: from barley.local (64-71-7-198.static.wiline.com [64.71.7.198]) by mx.google.com with ESMTPS id 30sm871314wfc.18.2009.05.14.13.11.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 May 2009 13:11:21 -0700 (PDT) Message-ID: <4A0C7AE8.7010206@gravitonic.com> Date: Thu, 14 May 2009 13:11:20 -0700 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Ilia Alshanetsky CC: Pierre Joye , jani.taskinen@iki.fi, PHP Development References: <7033A53F-D4BF-437F-A6AA-AD42C3288342@prohost.org> <4A0C575E.3020305@gravitonic.com> <4A0C649E.4040609@gravitonic.com> <4A0C672E.2010200@sci.fi> <4A0C68F9.2050506@gravitonic.com> <4159BBD6-6831-445C-988D-567B9BAEEE3D@prohost.org> In-Reply-To: <4159BBD6-6831-445C-988D-567B9BAEEE3D@prohost.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.2.10 From: andrei@gravitonic.com (Andrei Zmievski) Not yet. It's a simple declaration change for json_encode_r(), but json_decode() doesn't have json_decode_r(), so we'd need to create it from the guts of json_decode(). -Andrei Ilia Alshanetsky wrote: > If we are simply changing the declaration that should be fine, is there > a patch available for review? > > > Ilia Alshanetsky > > > > > On 14-May-09, at 4:04 PM, Pierre Joye wrote: > >> hi Ilia, >> >> On Thu, May 14, 2009 at 8:54 PM, Andrei Zmievski >> wrote: >>> Jani Taskinen wrote: >>>> >>>> It's still new stuff. And we need more things in 5.3/6 to make them >>>> more >>>> interesting to general populus too. ;) >>> >>> Great, so I'll just end up copying almost all of ext/json code into >>> pecl/memcached then. Hooray for loose coupling. >> >> It is actually not about adding features. If I understand correctly >> what Andrei likes to have, it is only about exposing the JSON API. >> That means no code change (no new feature or whatever else) but only >> adding the right PHP_API related declaration to the right place and >> install the json header. That could actually be very useful with no >> impact on the code (userland or extensions). >> >> I think we should allow this change. >> >> Cheers, >> -- >> Pierre >> >> http://blog.thepimp.net | http://www.libgd.org >