
The digest of interesting news and materials from the world of PHP No. 47 (August 24 - September 7, 2014)

We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- PHP 5.6.0 - The long-awaited release of the new version of the interpreter. There are many new features on board: scalar expressions in constants , functions with a variable number of arguments , exponentiation operator ** , import of functions and constants from namespaces , the built-in debugger phpdbg , operator overloading for GMP objects and other extensions . By tradition, there is a guide to the transition to the new version . Screencast PHP 5.6 in 10 minutes
.
Core developer Stas Malyshev summed up the release of 5.4 and tried to predict the future of 5.6 . Benny WordPress 4.0 Release - The fourth version of the most popular CMS has become available. The release includes many improvements and several new features, although nothing revolutionary.
HHVM 3.3 - first release with long-term support (LTS)
- Engine Yard sponsors Composer - A $ 15k grant has been announced for the year to support Composer through one of the authors, Nils Adermann . Recalling another statement by Composer Jordi Boggiano authoring the development of the commercial Toran Proxy to support Composer, there is reason to believe that Composer is waiting for significant development.
Php
- RFC: Implicit isset () in ternary operator - Instead,
isset($_GET['mykey']) ? $_GET['mykey'] : ""
you can simply$_GET['mykey'] ?: ""
. - RFC: Abstract syntax tree - The proposal was adopted unanimously: 47 - for and not against!
- RFC: Closure :: call - Also accepted is the proposal to add a method
call
for anonymous functions with the ability to transfer an objectthis
.
Instruments
- Optional - A library designed to reduce null checks in code. A detailed post describing the motivation from the author .
- Checker - A set for self-testing the operation of a class and its individual methods.
- CodeLobster PHP Edition - An alternative IDE for PHP development.
- Broadway - A tool for implementing the principles of CQRS and Event Sourcing in PHP. Post in support .
- Cuzzle - The library allows you to save Guzzle requests in the form of cURL commands for further debugging or logging.
- Versionscan - A tool to check the current installation of PHP for known vulnerabilities.
- Toggle - The library allows you to organize the principle of disconnected features in a PHP application. Post in support .
- Amp - Asynchronous multithreading in PHP.
- php-wise - Symfony Config based configuration library.
- PHP Reflect - The library allows you to explore classes, interfaces, functions and more. Unlike the standard Reflection API, it does not require directly loading the code, since it is parsed using a PHP lexer.
- CLImate - The best PHP helper in the CLI. Color and formatted output on the command line.
- UnifiedArchive - A library for unified access to archives of various formats. Also in the form of a command line utility - Archive .
- FOSHttpCache - The tool allows you to integrate a PHP application with a caching proxy a la Varnish.
Learning Materials
Symfony
- A number of vulnerabilities discovered in Symfony
Handling POST Request AngularJs in Symfony2
- Goodbye Symfony - About why and how to use Symfony components regardless of the framework itself.
What Symfony can do in my garage - home automation with PHP - About using Symfony with RaspberryPi.
Laravel
- Meet Recki-CT - A year and a half ago, Anthony Ferrara introduced the public to his PHPPHP - a PHP interpreter written in PHP. However, for a number of reasons, the instrument was just a toy. This time, Anthony introduced the PHP compiler - Recki-CT . This tool supports a subset of PHP: references, variable variables, and global variables are not supported. But it allows you to compile PHP into machine code. The post also shows benchmarks for the performance of Recki-CT in comparison with traditional PHP and alternative implementations: HHVM, HippyVM, QB.
Also in the topic is a tutorial on installing Recki-CT on Vagrant . - New Book: Functional Programming in PHP
- Function Composition
- Haskell vs PHP - Comparison and tests of PHP code in an imperative and functional style against Haskell code.
- Deploying an Application on Zend Server
- Explanation of PHP Streaming and Output Buffering - About how to use PHP to organize sending a response to the browser in parts.
- A quick guide to compiling source PECL extensions
- PINQ queries to your database - Tutorial on using LINQ PHP implementation.
- We integrate ZF2 forms in Slim microframework
- Natural Sorting with MongoDB - Learn how to get around MongoDB's restrictions on sorting Unicode strings in PHP.
- Naming - It's Difficult - Slides of a talk about good naming practices in PHP.
- Practical performance tuning
- Your Packagist Using Toran Proxy
- Modern Workflow for WordPress using Composer
- Understanding PhpSpec - Tutorial on using the SpecBDD framework for PHP. Introductory part here .
- PhpFriendsOfDdd / state-of-the-union - List of resources and tools for DDD in PHP.
- Etsy Code Testing Best Practices
Php recommendations for junior php developer
Roll out a large system
MySQL indexes
Configuring Yii2 RBAC
Testing a new type of MySQL backup
PHP auto-completion interactive console
A magical object for storing and transmitting heterogeneous data with type and value checking
Web-gui for wget (light)
Error based MySQL injection or no need to swear
PHP Validation Note
Audio and video
Laracon EU 2014 - Video recordings of reports from the conference held in Amsterdam.
Entertaining
Quick Search All Digests
← Previous Issue