The digest of interesting news and materials from the world of PHP No. 37 (February 24 - March 9, 2014)
Congratulations to all the girls and especially PHP developers on the last holiday! All success, love and warmth!
And of course, your attention is another selection of links with fresh news, useful tools and interesting materials. ')
Enjoy reading!
News and Releases
Release KPHP and engines - VKontakte published the source code of its alternative implementation of PHP - KittenPHP. Together with the compiler under an open license, the developers also laid out a set of engines that can be used separately from KPHP.
PHPUnit 4.0.0 was released - The latest release of the legendary testing tool with support for HHVM and other innovations.
Apigility 0.9.0 - Update tool from Zend to quickly create all sorts of APIs based on the Zend Framework 2.
PHP Releases - Updated for current branches: PHP 5.5.10 and PHP 5.4.26 . Releases have fixed security issues, and therefore all users are encouraged to upgrade. In addition, the third and latest alpha version of PHP 5.6 was released . The first beta release, and therefore feature freeze, should be expected on March 20th.
Source code Mt.Gox - Most recently, the largest Bitcoin exchange Mt.Gox declared bankruptcy. The code leaked to the network exchange, which is available by reference.
Php
RFC: arrayof - A proposal for improving type hinting for arrays was rejected on the ballot.
virtPHP - Thanks to this tool, it became possible to use several isolated PHP environments on one machine at once. What has long been in Ruby and Python is now in PHP. Using the phpenv and php-build tools, you can create completely independent virtual environments. In addition, a post in the topic, about how useful virtual environments.
Respect / Relational - A simple, convenient ORM that does not require any prior configuration.
Vent - A library that implements the event system for variables in PHP.
Regreph - Performance Regression Analysis Tool for PHP + XHProf.
Phastlight - Asynchronous, self-oriented command line tool and PHP 5.3 web server. Implemented based on libuv, the library underlying Node.js.
Phactory - Library of test object generation as an alternative to fixtures. The author was inspired by the Ruby Factory Girl .
ImageCow - A library that solves the problem of adaptive images.
Altax - Another application deployment tool for PHP.
Teapot - A simple but useful library that provides a structured set of constants for HTTP status codes.
Ansi - A simple library that allows you to use colors and formatting in console applications in PHP.
php-CLIFramework - A framework for building command-line applications.
libphonenumber for PHP - As the name suggests, the PHP implementation of the libphonenumber library from Google. Allows you to parse phone numbers and get detailed information about them: demo .
whoops! - The library allows you to display beautiful and most important informative error pages and unhandled exceptions.
Stash - Excellent library for caching implementation.
Promises - Implementation of promises in PHP. Essentially a convenient shell over pthreads.
Study materials
Cartoon Image Filter in PHP QB - Alternative PHP implementation - QB is now available as an extension. Static typing is implemented in the form of annotations. Super fast low-level work with pixels and vectors allows you to do very interesting things. Another example is the Mandelbrot fractal .
Swagger in ZF2,2 - A couple of notes about using Swagger to automatically generate annotation-based documentation. If you have not used Swagger to document and test your API, then I recommend to pay attention to it: Swagger UI demo .
Dates are tricky . In developing the Uuid for PHP library, which implements the generation of UUIDs , the author encountered an unobvious behavior of date functions in PHP.
Autopsy: HHVM vs Zephir vs PHP - A good comparative description and test of the three applicants. The code and description of the test on GitHub , the results here .
MySQLi implementation in HHVM - How the work on the implementation of MySQLi support in HHVM, what happened and what was planned.
Rumors about the termination of support for MySQL in PHP - Release Manager PHP 5.3 comments on the subject. Actually, of course, I mean the exclusion of the obsolete mysql extension from PHP, but this will not happen in PHP 5.6.
PHP chat room on StackOverflow - In this chat you can always chat and ask questions to Nikita Popov, Anthony Ferrara and other grandees of the PHP world.
Here are 37 issues every two weeks PHP-digest comes out. But in order to make the issues even better, I suggest you take a quick survey . The results will be published in two weeks, and thanks to you the digest will be even better!