Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74053 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71396 invoked from network); 8 May 2014 11:42:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2014 11:42:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.176 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.128.176 mail-ve0-f176.google.com Received: from [209.85.128.176] ([209.85.128.176:60272] helo=mail-ve0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/C0-64794-09D6B635 for ; Thu, 08 May 2014 07:42:09 -0400 Received: by mail-ve0-f176.google.com with SMTP id jz11so3038697veb.7 for ; Thu, 08 May 2014 04:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2hsg/1MibLgfmHQBrJ02rTWSKhrfs8MyH0DAW/vn1gw=; b=OpyGRswcVNqkbZieOCjWe8NTfNnebRe3g83sYVUGaUMgHnt9wMcl3aT/TI7I1PfFye 6I/ZR8AbaOPsi8Xq4GCGW7MDdNk8ZKvYwEdXhtRE2xikrOHUD+QMiJWn6MUkog/x2nFU lB6KowLi9kYOcqA+Si5/qoO3N8xXgE3lRYOf9oNpF4ofbJTruors/O2zUN4GYg97fhKp SGfe2Tg6MVhgT8IpMp+ME/YdIXFQgXf8xkZ1wW3XRsJL0KmPLAeHHn4tD8F5AV1Zxpon NQXS00p0YmNZ+PbIChfH6Y7nxZgFjmZ+L0IkZ7v5DXeywwisO2NYFq5MWvgO6p4xn3CD 0JBg== MIME-Version: 1.0 X-Received: by 10.52.164.237 with SMTP id yt13mr2089965vdb.18.1399549326395; Thu, 08 May 2014 04:42:06 -0700 (PDT) Received: by 10.58.133.84 with HTTP; Thu, 8 May 2014 04:42:06 -0700 (PDT) In-Reply-To: References: <1CB4131A-13AA-4061-94F6-CA3B3EB1DB3E@ajf.me> <5FB10F5A-C78A-47C7-ABD1-A1CA1426B122@ajf.me> Date: Thu, 8 May 2014 19:42:06 +0800 Message-ID: To: Dmitry Stogov Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11c2c1d27210b904f8e1f8f0 Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: tjerk.meesters@gmail.com (Tjerk Meesters) --001a11c2c1d27210b904f8e1f8f0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I coauthor the pecl extension for oauth; it currently supports >=3D 5.2 wit= h only a few compiler directives, but these engine changes are quite extensive. My question is how to best approach this to maintain backwards compatibility? Thanks! On Mon, May 5, 2014 at 10:30 PM, Dmitry Stogov wrote: > yes. all the extensions will have to be changed. > In some cases it may be difficult, but usually not too difficult. > For example today Xinchen added support for 3 or 5 new extensions. > > Thanks. Dmitry. > > > On Mon, May 5, 2014 at 6:16 PM, Andrea Faulds wrote: > > > > > On 5 May 2014, at 15:15, Dmitry Stogov wrote: > > > > I would say it must be 100% compatible at the end, may be with exceptio= n > > for very rare and unclear cases that worked just because of existing > > implementation. (e.g. mixing foreach and next() on the same array). > > > > > > Of course it=E2=80=99s compatible with user land, what I meant to ask w= as how > > compatible is the ABI? Would this require a lot of changes to extension= s > > and such? > > > > -- > > Andrea Faulds > > http://ajf.me/ > > > > > > > > > > > --=20 -- Tjerk --001a11c2c1d27210b904f8e1f8f0--