PHP Digest number 138 (August 20 - September 2, 2018)
Fresh selection with links to news and materials. At issue: the latest beta version of PHP 7.3, Laravel Nova, a site with ideas for the next versions of PHP, news about Yii 3, a portion of useful tools, videos, and much more. Enjoy reading!
Among the changes: • Heredoc and Nowdoc RFC syntax enhancements • The json_encode () and json_decode () functions will throw an exception if there is an error and the corresponding RFC flag is present . • Ability to use a comma after the last argument of the RFC function • New function hrtime (), which returns high precision time and does not depend on system time PR • Added is_countable () function to check for enumeration RFC • Using links in list () RFC • Some features are deprecated RFC 1 , RFC 2 • Cook function added Same Site Cookie RFC • Significant improvement in PR garbage collection and other improvements. Full list of changes . You can read more about the changes in a detailed analysis of what's new in PHP 7.3 or quickly look at diffs .
Remote code execution on packagist.org - Vulnerability that could allow the execution of code on the Packagist PHP repository server by transferring a specially crafted string instead of a URL to the form for adding a new package. Already fixed .
Highload fwdays'18 - September 15 in Kiev will host a large-scale conference on highload. There are no reports directly about PHP, but the program has interesting presentations on scaling, architecture, and optimization. Promo code for discount: PHPDIGEST_HL .
php-vote.com - What would you like to see in the next version of PHP? On the site, you can add an idea or discuss and vote for already added.
Instruments
nbs-system / snuffleupagus - Security extension for PHP 7 inspired by Suhosin . Prevents the launch of potentially unsafe code in runtime.