PHP Digest number 109 - the latest news, materials and tools (May 14 - 28, 2017)
We offer to your attention another selection with links to news and materials. Enjoy reading!
News and Releases
The end of support for HHVM in popular projects - If some two years ago the alternative PHP virtual machine from Facebook could boast an impressive performance advantage, today the difference is insignificant. According to Composer statistics , the proportion of HHVM users is less than PHP 5.3 and is 0.36%. Nevertheless, thanks to the HHVM team for pushing PHP to develop. Starting with the symfony 4 version, the framework will not support HHVM . Laravel has discontinued support since version 5.3 . In Yii, the termination is scheduled in version 2.1 . MongoDB driver support for HHVM stops . Support for Doctrine , Twig (from version 2), Silex, and Swiftmailer also stops.
Codeception 2.3 - Update popular testing tool. Under the hood, support for PHPUnit 6, installation templates, and other improvements.
RFC: UUID — It is proposed to add a UUID class to the kernel to generate unique values according to RFC 4122 . As part of the implementation of polyphiles are available for versions of PHP <7.2. In addition, there is a proposal to make obsolete the uniqid () function, which, contrary to the name, does not guarantee the return of a unique value.
RFC: Object typehint - There is a vote on the proposal to add the object type as an option for typing. This type can be used for any objects, which can be useful when a particular type is not known in advance.