The digest of interesting news and materials from the world of PHP over the past two weeks, number 26 (September 8-22, 2013)
We offer to your attention another selection with links to news and materials.
Enjoy reading! ')
News and Releases
Releases PHP 5.4.20 and PHP 5.5.4 - Updated actual interpreter branches. Both releases contain exclusively fixes, including security. Complete lists of changes: for 5.5.4 and 5.4.20 . All users are encouraged to upgrade.
Yii Framework joins PHP-FIG - In the PHP-FIG team a new member: in the person of samdark , the Yii Framework community joins the group, with which samdark personally and congratulations to all of us! By the way, this is the first Russian-speaking member of the group.
WordPress Emergency Update 3.6.1 - A vulnerability has been discovered in WordPress to allow the execution of arbitrary PHP code. On another similar vulnerability, which affects even the latest version of Wordpress 3.6.1, read this post. .
RFC: Extended Keyword Support - This offer is designed to remove a number of restrictions on the use of keywords in PHP code. For example, at the moment it is impossible to create a method with the name, say, and or list .
T_PAAMAYIM_NEKUDOTAYIM v Sanity - Phil Sturgeon conducted a study on resisting changes in PHP Internals. I wonder if there is a name for a phobia, in which the developer is afraid of changes in the open-source project? Also reflections on topic from samdark .
Troubleshooting PHP Internals - Another post about problems in PHP-FIG and PHP Internals. By the way, in the latter there is a small shift: instead of mailing lists, it was suggested to use the forum. Although the proposal was perceived as hostile by some participants, it was finally decided to update the interface http://news.php.net/ by adding a hierarchical display of messages.
Instruments
ASIS 0.1.0 - Tool for efficient work with legacy-code through the automatic creation of tests.
HHVM is fast ... sorry my code doesn't start - Despite the tempting performance, HHVM does not support all the features of PHP. In the post is a table with a list of frameworks and information about their performance in HHVM based on data on the feasibility of unit tests. The priority goal for the HHVM team is to ensure that these frameworks work 100% on HHVM. Contributors help is welcome .
Travis-CI: what?what for?as? - Tutorial on the use of an excellent free platform for continuous integration. In the post an example of use on the Node.js project is given, however, everything described will be relevant for PHP projects.
Outside of design patterns - An excellent post with an analysis of the purpose of patterns, an alternative classification of patterns, and a call to pay attention to the study of fundamental concepts: abstraction and interaction between objects.
Processing global data in PHP web applications - In a post, there are alternatives to using global variables: static classes, singleton, registry, dependency injection. For each considered the advantages and disadvantages of using.
Podcast PHP Town Hall.Episode 12: Cool RFCs - An interesting podcast release from Phil Sturgeon and Ben Edmunds, which Igor Wiedler came to visit. Talk about the recently proposed RFCs ( details in Digest 25 ) and about the projects Igor Wiedler is working on.
React on the server side using PHP , 2 - In this case, it’s about a Facebook library developed for creating UI components - React . In two parts, the author demonstrates how, using the v8js extension, you can generate React pages on the server.
Resource Releases - The author implemented something like " using " from C # to release resources. In the case of files in PHP, this is unnecessary, since the interpreter itself will take care of closing and freeing resources. But other uses are possible.