Re: PHP7 Homework for everyone reading this list

From: Date: Thu, 22 Jan 2015 17:36:42 +0000
Subject: Re: PHP7 Homework for everyone reading this list
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80979@lists.php.net to get a copy of this message
Am 22.01.2015 um 18:05 schrieb Rasmus Lerdorf: > It would be really useful if we got more eyes on this. Install php7, > then install any random app and see how it goes. It's even easier to check whether a component or framework has issues with PHP 7: simply run the respective test suite with PHP 7. With the exception of one test case, the test suite for PHPUnit itself runs without a problem on PHP 7. The one test that fails is related to the textual representation of SplObjectStorage objects: Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ - ) +- 'inf' => null +- ) +- '000000006a6ff9c8000000006911d926' => Array &1 ( +SplObjectStorage Object &000000006a6ff9ce000000006910251e ( + '000000006a6ff9c8000000006911d926' => Array &0 ( -+ 'obj' => stdClass Object &000000006a6ff9c8000000006911d926 () + 'obj' => stdClass Object &000000006a6ff9c8000000006911d926 () 'inf' => null ) -- '000000006a6ff9c8000000006911d926' => Array &0 ) ' Hopefully I'll have the time soon to investigate this. It would be great if Travis CI would offer PHP 7 nightly / weekly builds to test against. The we could ask the projects that run their tests on Travis CI to enable PHP 7 for their builds.

« previous php.internals (#80979) next »