Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73771 invoked from network); 21 Jul 2014 10:07:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2014 10:07:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:46231] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/A4-51736-776ECC35 for ; Mon, 21 Jul 2014 06:07:52 -0400 Received: (qmail 7882 invoked from network); 21 Jul 2014 10:07:47 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 21 Jul 2014 10:07:47 -0000 Message-ID: <53CCE669.8080403@beccati.com> Date: Mon, 21 Jul 2014 12:07:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: internals@lists.php.net CC: Sebastian Bergmann References: <2de3e71e35addbf16b2dc622f4c81eff@mail.gmail.com> <53CCD9BB.6060108@php.net> In-Reply-To: <53CCD9BB.6060108@php.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: Move phpng to master From: php@beccati.com (Matteo Beccati) On 21/07/2014 11:13, Sebastian Bergmann wrote: > Am 21.07.2014 10:33, schrieb Zeev Suraski: >> Regarding Dmitry saying that phpng is an experimental branch - that was a >> couple of months ago. It evolved, it runs apps in parity with 5.6, and it's >> fine to move it to master right now. The alternative - developing 5.7 on >> master and creating a synchronization hell - sounds like a horrible course >> of action. > > I was not able to run PHPUnit using PHPNG at all back when it was first > announced. > > I was able to run PHPUnit 4.3 (master)'s test suite using PHPNG last > week, btw. Only one test fails (due to a change in the output of > print_r() for SplObjectStorage IIRC). This tells me that there was a lot > of progress :-) I have temporarily re-enabled the phpng jobs on my CI server to assess the current situation. I can confirm that just one test is failing with PHPUnit master. It seems that print_r is not displaying StdClass properties as it used to: https://revive.beccati.com/bamboo/browse/PHP-PHPUN-PHPNG-55/test/case/11800493 On the other hand Doctrine master can't even run the entire test suite due to: Fatal error: Call to a member function getConfiguration() on null in /home/atlassian/bamboo/xml-data/build-dir/PHP-DOCTR-PHPNG/tests/Doctrine/Tests/OrmFunctionalTestCase.php on line 482 (pretty sure it's not a null there: a var_dump before the call tells me it's an object) https://revive.beccati.com/bamboo/browse/PHP-DOCTR-PHPNG-52/log The Revive Adserver test suite fails miserably (86+ out of 274 test files), mostly due to errors like: /home/atlassian/bamboo/xml-data/build-dir/PHP-SRC3-BUIL/Zend/zend_hash.c(1369) : ht=0x29c7aa8 is already destroyed and some "Call to a member function" errors on object variables that are mysteriously seen as null. https://revive.beccati.com/bamboo/browse/REV-LP-PNGP-64 There's lots of legacy code in there and it has proved to be useful in past to catch a few uncommon segmentation faults. I'm pretty sure that there are plenty other applications that can't work with phpng as it is now. To be honest I don't think we're anywhere near the point where it's safe to merge phpng to master. Also, one thing that might have been overlooked is that merging phpng to master would completely bypass the voting phase on https://wiki.php.net/rfc/fast_zpp Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/