Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Finland:
PHP 7.1 vs 7.2 Benchmarks (with Docker and Symfony Flex)
Oct 17, 2017 @ 11:17:25

On the Symfony Finland site there's a new post sharing the results of some recent benchmarks of the differences between running the framework on PHP 7.1 and PHP 7.2:

PHP 7.2 will be launching soon, in fact, it has already reached Release Candidate status. I was exploring Symfony Flex with Docker setup and thought I would do a quick round of tests to compare the differences in PHP 7.1 and 7.2 (RC4) regarding performance with a few benchmarks.

[...] The benchmarked application is the Symfony Flex port of the hybrid application I did back in January. The project now has the required configuration to run it with Docker, and you can find the full source on GitHub.

The post then shares some of the results and conclusions of the test runs, showing the differences between the two versions. In one set of tests, they're calling the front page controller with Twig rendering and in the other a backend controller without the display rendering. PHP 7.2 ends up performing slightly better than PHP 7.1 overall but not by very much in most cases. The more dramatic change is on the backend, though, with a good jump in performance for a Symfony Flex application.

tagged: symfony flex application benchmark php71 php72 compare results graph

Link: https://symfony.fi/entry/php-7-1-vs-7-2-benchmarks-with-docker-and-symfony-flex

PHP.net:
PHP 7.1.10 Release Announcement
Sep 29, 2017 @ 10:47:02

On the PHP.net site there's an announcement about the release of the latest version in the PHP 7.1.x series: PHP 7.1.10.

The PHP development team announces the immediate availability of PHP 7.1.10. This is a bugfix release, with several bug fixes included. All PHP 7.1 users are encouraged to upgrade to this version.

Changes in this release includes updates to the CLI server, cURL handling, gettext functionality and internationalization. As always you can get the latest release from the main downloads page or from windows.php.net for the Windows binaries.

tagged: download changelog bugfix release php71 language

Link: http://php.net/index.php#id2017-09-29-1

PHP.net:
PHP 7.1.9 Released
Sep 01, 2017 @ 11:52:19

On the PHP.net site they've posted an announcement about the latest release in the PHP 7.1.x series: PHP 7.1.9.

The PHP development team announces the immediate availability of PHP 7.1.9. This is a bugfix release, with several bug fixes included. All PHP 7.1 users are encouraged to upgrade to this version.

Bugs fixed in this release include functionality in the core of the language, cURL handling, internationalization and MySQLi functionality. You can see the full list of changes in the full Changelog. As always you can download this release from the usual places: the downloads page for the source release and windows.php.net for the Windows binaries.

tagged: language release bugfix php71

Link: http://php.net/index.php#id2017-09-01-1

PHP.net:
PHP 7.1.8 Released
Aug 11, 2017 @ 11:56:36

The PHP.net site has posted an announcement about the latest language release in the PHP 7.1.x series: PHP 7.1.8:

The PHP development team announces the immediate availability of PHP 7.1.8. This is a bugfix release, with several bug fixes included. All PHP 7.1 users are encouraged to upgrade to this version.

Fixes in this release include changes in DateTime handling, OpenSSL, PDO, SQLite3 and Opcache fixes. As always you can download this latest release from the main downloads page (source) or from windows.php.net for the Windows executables. You can view the full list of the changes in this release and their related bugs in the complete Changelog.

tagged: language release bugfix php71

Link: http://php.net/index.php#id2017-08-03-3

Joe Ferguson:
Install and Configure PHP 7.1 on Cloud 9 Workspaces
Jul 07, 2017 @ 09:32:03

Joe Ferguson has a new post to his site showing you how to install PHP 7.1 on a Cloud9 workspace to get the latest features of PHP (they run PHP 5.5 by default).

July 8th I’m giving a general PHP training day at the Fedex Institute of Technology and because I’m targeting absolute beginners I wanted to use Cloud 9. Cloud 9 is an online editor that gives you a full linux workspace to build your project in. The first thing I noticed was the container Cloud 9 provides is running PHP 5.5.

He provides the contents of the bash script you can run via the Cloud9 interface that will install PHP 7.1 and several dependencies. It also updates a few configurations to work with PHP 7.1 and restarts the Apache instance to have it all take effect. He's posted this as a repository on GitHub to make it even easier and shows how to set up the Cloud9 workspace using it as a base.

tagged: install configure cloud9 workspace install php71 tutorial

Link: https://www.joeferguson.me/install-and-configure-php-7-1-on-cloud-9-workspaces/

PHP.net:
PHP 7.1.6 Released
Jun 09, 2017 @ 11:07:38

The PHP development team has officially announced the latest release in the PHP 7.1.x series for the language: PHP 7.1.6.

The PHP development team announces the immediate availability of PHP 7.1.6. Several bugs have been fixed. All PHP 7.1 users are encouraged to upgrade to this version.

Bugs fixed in this release are functionality related to MySQLi, Opcache, phar handling, xmlreader and the language core. As always, you can download this latest version either from the main downloads page (source) or from windows.php.net for the Windows binaries. If you're interested in the specific bugs that were fixed and the issues related, check out the full Changelog.

tagged: language release php71 bugfix

Link: http://php.net/index.php#id2017-06-08-3

Zend Framework Blog:
Zend Framework and PHP 7.1
Jun 07, 2017 @ 12:18:45

On the Zend Framework blog Matthew Weier O'Phinney has a new post covering the state of the Zend Framework project and how it relates to PHP 7.1.

When we announced Zend Framework 3 last year, one of the changes was setting the minimum supported PHP version to 5.6. Our initial plan was to support 5.6 until it reaches end-of-life, which occurs 31 December 2018.

PHP 5.6, however, stopped receiving active support almost five months ago, on 19 Jan 2017. This means that it is no longer receiving bugfixes, only critical security fixes. As such, a number of contributors have been pushing for us to up our minimum supported version to support only actively supported PHP versions, which would mean only PHP 7 versions.

[...] Our view is that the new features in PHP 7 will allow us to simplify our code dramatically, reduce bugs (primarily by increasing type safety), make our code more easily maintainable (less code required to check types; less repetitive code), provide stronger and more predictable interfaces to our users, and simultaneously provide users access to more and better language features.

He also talks briefly about their thoughts about HHVM support and if it makes sense to keep moving forward with it (given the small percentage of their user base). He then lays out a plan for the framework moving forward that includes the release of PHP 7.1+ only components and security patches on 5.6 versions until end of life.

tagged: zendframework php71 version future roadmap php56 hhvm project

Link: https://framework.zend.com/blog/2017-06-06-zf-php-7-1.html

Sebastian De Deyne:
The List Function & Practical Uses of Array Destructuring in PHP
May 15, 2017 @ 10:26:37

Sebastian De Deyne has written up a post to his site spotlighting PHP's list function and showing how it can be used for "array destructuring" and how recent changes in PHP 7.1.x make it more useful.

PHP 7.1 introduced a new syntax for the list() function. I've never really seen too much list() calls in the wild, but it enables you to write some pretty neat stuff.

This post is a primer of list() and it's PHP 7.1 short notation, and an overview of some use cases I've been applying them to.

He starts with a basic introduction to the list function and how it assigns out variables based on an array. He then shows examples of the updates that came with PHP 7.1, allowing you to specify the key from an array to more selectively extract only the value you want. Three "exhibits" are then provided, showing actual use cases for this functionality: basicunpacking examples, creating tuples and handling multiple return values.

tagged: list function use array destructuring php71 functionality tutorial tuple returnvalue

Link: https://sebastiandedeyne.com/posts/2017/the-list-function-and-practical-uses-of-array-destructuring-in-php

PHP.net:
PHP 7.1.5 Released
May 12, 2017 @ 11:47:16

On the main PHP.net site they've posted the announcement about the latest release in the PHP 7.1.x series: PHP 7.1.5. This is a bugfix release and problems were fixed in:

  • core functionality
  • date handling
  • GD graphics functionality
  • internationalization
  • OpenSSL
  • phar creation

You can download this latest release from either the main downloads page (source releases) or windows.php.net for the Windows binaries. If you're curious about the full set of changes, you can check out the full Changelog for this release.

tagged: language release bugfix php71

Link: http://php.net/archive/2017.php#id2017-05-11-2

PHP.net:
PHP 7.1.4 Released
Apr 14, 2017 @ 09:23:58

On the main PHP.net site they've posted an announcement about the latest release in the PHP 7.1.x series - PHP 7.1.4:

The PHP development team announces the immediate availability of PHP 7.1.4. Several bugs have been fixed. All PHP 7.1 users are encouraged to upgrade to this version.

Bugfixes in this release include changes in Core, Apache, DOM, Opcache and OpenSSL functionality. As always, this latest release can be downloaded from the main downloads page on the PHP.net site (source) and windows.php.net for the Windows binaries. If you'd like to view the full list of changes and see links to the bugs they fix check out the full Changelog.

tagged: language release bugfix php71

Link: http://php.net/index.php#id2017-04-13-2