Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75974 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96013 invoked from network); 23 Jul 2014 20:28:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2014 20:28:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.181 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.220.181 mail-vc0-f181.google.com Received: from [209.85.220.181] ([209.85.220.181:59904] helo=mail-vc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/41-23414-1DA10D35 for ; Wed, 23 Jul 2014 16:28:02 -0400 Received: by mail-vc0-f181.google.com with SMTP id lf12so3247190vcb.26 for ; Wed, 23 Jul 2014 13:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=cjfYhCUE0VPpj4HPSRPVjBa7IjDNusB1MsezE4ozT0k=; b=eNeOeVs8QfBLkvlaac87Cw+TU0f66mNp7QMKFSlmolNSU974XKjbTQzC413m/e2FNW ko+iPiPxrPTuU1KW+l5ZL1dPs5Btef9lN+81otg2dLnI5TlXRlgDQdk/25hZ98/gggVc YAdNPbl+W8fo6h/yJVqRWobqUMi2gmlfwfM7iQdFZOQKLDCxOdAJIjDyvZOqmCWFCDgG slSEDxJRKLJVjpjjMVJFB52x49PTHS+0PiED4l2Gqj+0v0ekrE66QAEvKnz2jgdU/txU c3I882nahI3YY7w57mv5fiUX0cyYMrNZezF5GxIrZT6Og92LPUw7bL18RhGzP84PIOu3 ECKA== X-Gm-Message-State: ALoCoQkg1KOngiYjvePD6bEpORosHfzrYX8M9tYQsdJmMRaoI9Po7oJXbIl71iZJkOrQNzyX2wRmHrcIAvpb819OsCz/s7cTD4fHrHDZa/I2Vbr8DQmwtlIChrNHZuA6F3sULH8k8aNV X-Received: by 10.52.142.102 with SMTP id rv6mr3235894vdb.26.1406147280802; Wed, 23 Jul 2014 13:28:00 -0700 (PDT) References: <53CF4146.5080800@sugarcrm.com> In-Reply-To: <53CF4146.5080800@sugarcrm.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQI8QOdx/Do9KUTbDGI5HWlFNEg77gLEYnf3mr5B7tA= Date: Wed, 23 Jul 2014 23:27:59 +0300 Message-ID: To: Stas Malyshev Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] RFC: Move phpng to master From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Stas Malyshev [mailto:smalyshev@sugarcrm.com] > Sent: Wednesday, July 23, 2014 8:00 AM > To: Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] RFC: Move phpng to master > > I think before we do that we need to do much better documentation around > the changes in the engine. I know that in the past we followed the "code > is > documentation" pattern, but the code there becomes more and more dense, > with macros upon macros upon macros, and myriads of micro-optimizations > which make sense only in specific context. Absent that context and > documentation, understanding what is going on becomes much harder and so > becomes dealing with that code. Some of the changes right now are > partially > documented in https://wiki.php.net/phpng-int, some (like parameter parsing > API) not documented at all. Given that, I'm not even sure I understand > what > phpng is right now - as I didn't have time to parse every commit during > active > development. So it would be nice to have some internal docs if we want > people to form an informed opinion about what is being proposed. > > And, of course, the porting guide for extension authors is another > required > part. I know the phpng team did great work porting the extensions, but > people > would need to support them and add the new ones, so it is a must. As Dmitry mentioned, this is something we're going to work on (with primary focus around the porting guide, and secondary focus on extending the internals document). Zeev