php7 was released. All PHPUnit test code in the book runs on php7.
Code:
[vagrant@localhost tests]$ php -v
PHP 7.0.0 (cli) (built: Dec 1 2015 17:53:27) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
with Xdebug v2.4.0rc1, Copyright (c) 2002-2015, by Derick Rethans
[vagrant@localhost tests]$ php phpunit.phar
#!/usr/bin/env php
PHPUnit 4.8.6 by Sebastian Bergmann and contributors.
....................................................
Time: 3.28 seconds, Memory: 28.00Mb
OK (52 tests, 75 assertions)
Generating code coverage report in Clover XML format ... done
Generating code coverage report in HTML format ... done