PHP Digest number 77 - interesting news, materials and tools (January 1 - 17, 2016)
We offer to your attention another selection with links to news and materials.
Enjoy reading!
')
News and Releases
PHP 5.6.17, 5.5.31 and PHP 7.0.2 - Updates of current branches with security fixes: buffer overflow in escapeshell functions, incorrect type handling in XMLRPC, two problems with deserialization of packages in the WDDX extension, ability to read from areas outside the buffer in gdImageRotateInterpolated, FPM buffer overflow. Also 7.0.2 improved stability.
PrestaShop on Symfony - A popular e-commerce platform in the next release will be rewritten using the symfony framework and its components.
PHP 5 will be supported until the end of 2018 - A proposal was made to extend support for PHP 5, which means that another year 5.6 branch will be updated actively and then two years in the mode of fixing security errors.
PHAP - PHAP project announced, which promises the possibility of developing mobile applications in PHP.
Php
RFC: Adopt Code Of Conduct - Anthony Ferrara proposed the introduction of a formal code of conduct for a PHP project. The rules are based on the popular Contributor Covenant and are supplemented with sections on conflict resolution and the application of punitive measures to violators.
The proposal generated a wave of discussion and a series of posts ( 1 , 2 , 3 ).
RFC: Simple Cryptography Library - It is proposed in PHP 7.1 to implement the Crypto layer to abstract work with cryptographic functions on top of Libsodium and OpenSSL. At the same time, Libsodium itself is proposed to be included in PHP 7.1, and mcrypt is proposed to be deprecated .
RFC: Allow specifying keys in list () - It is proposed to add the ability to specify keys in list() : list("name" => $this->name, "colour" => $this->colour) = $attributes;
RFC: On-demand Name Mangling - It is proposed to disable automatic conversion of parameter names in superglobal arrays: ab, a%20b, a[b => $_GET['a_b'] .
RFC: array_key_ (first | last | index) - It is proposed to add the functions array_key_first() , array_key_last() , array_key_index() , which return the array key by its index (sequence number).
RFC: Operator Overloading - To implement operator overload, it is proposed to add magic methods __add() , __sub() , __mul() , __div() , __pow() , __concat() .
PHPFastCGI / FastCGIDaemon - FastCGI is a daemon implemented in PHP. Allows you to demonize the application, rather than restarting for each request. Implemented adapters for Slim, Symfony, Silex, Drupal, Zend Expressive.