Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43996 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76830 invoked from network); 15 May 2009 17:53:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2009 17:53:34 -0000 Authentication-Results: pb1.pair.com header.from=scott@macvicar.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=scott@macvicar.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain macvicar.net from 97.107.131.220 cause and error) X-PHP-List-Original-Sender: scott@macvicar.net X-Host-Fingerprint: 97.107.131.220 whisky.macvicar.net Linux 2.6 Received: from [97.107.131.220] ([97.107.131.220:40967] helo=whisky.macvicar.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/5F-27038-C1CAD0A4 for ; Fri, 15 May 2009 13:53:33 -0400 Received: from [10.0.0.116] (office.vbulletin.com [217.155.246.60]) by whisky.macvicar.net (Postfix) with ESMTP id AC4514695A; Fri, 15 May 2009 13:53:23 -0400 (EDT) Message-ID: <4A0DAC11.4040102@macvicar.net> Date: Fri, 15 May 2009 18:53:21 +0100 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Giovanni Giacobbi CC: Pierre Joye , Andrei Zmievski , Ilia Alshanetsky , 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> <20090515175014.GA13957@gerbil.thgnet.it> In-Reply-To: <20090515175014.GA13957@gerbil.thgnet.it> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ScottMac-MailScanner-Information: Please contact the ISP for more information X-ScottMac-MailScanner-ID: AC4514695A.D713C X-ScottMac-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-ScottMac-MailScanner-From: scott@macvicar.net X-Spam-Status: No Subject: Re: [PHP-DEV] PHP 5.2.10 From: scott@macvicar.net (Scott MacVicar) Giovanni Giacobbi wrote: > On Thu, May 14, 2009 at 10:04:36PM +0200, 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. >> > > Sorry if I'm not getting this right, but doesn't he have to explicitly require version >= 5.2.10 in his pecl/memcached extension? It's not like that with this change his extension is going to work for 5.2.x. Requiring >= 5.2.10 is such a strict requirement that should be replaced with >= 5.3.0. > You can use call_user_func_ex() internally to call it, it's nicer to use the C API though. Though this is the wrong place to ask. Scott