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.2.0 Release Candidate 4 Released
Oct 12, 2017 @ 10:35:30

The main PHP.net site has posted the latest release announcement for a pre-release of the next major version of the language: PHP 7.2.0 Release Candidate 4.

The PHP development team announces the immediate availability of PHP 7.2.0 RC4. This release is the fourth Release Candidate for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

This pre-release version fixes some bugs found in previous Release Candidates and can be downloaded from the QA sites: source packages and Windows binaries. Based on the release schedule, the next release candidate will be posted on the 26th of October and will be the last (RC5) before the official branching of PHP 7.2.0 happens.

tagged: php language release php72 releasecandidate php72rc4 preview

Link: http://php.net/index.php#id2017-10-12-1

Kinsta Blog:
What’s New in PHP 7.2
Oct 03, 2017 @ 10:51:03

On the Kinsta blog there's a new tutorial by Carlo Daniele with a look ahead at the next version of the PHP language - PHP 7.2 - and what you can expect.

Currently in RC3, PHP 7.2 is planned to be released on November 30. The new release is coming with new features, functions, and improvements that will allow us to write better code. In this post, I will introduce some of the most interesting language features coming with PHP 7.2.

You can see the full list of upcoming changes on the Requests For Comments page.

Their list covers a number of the updates coming in this version including:

  • Argument type declarations [for objects]
  • Parameter Type Widening
  • Trailing commas in list syntax
  • Several security improvements

They also cover some of the functionality that's being deprecated and what kind of impact this new version will have on WordPress users.

tagged: php72 upcoming version php72rc3 feature deprecation wordpress

Link: https://kinsta.com/blog/php-7-2/

PHP.net:
PHP 7.2.0 Release Candidate 3 Released
Sep 28, 2017 @ 10:48:30

As announced on the main PHP.net site, the latest release candidate for the PHP 7.2.0 series has been made available for download: Php 7.2.0 RC3.

The PHP development team announces the immediate availability of PHP 7.2.0 RC3. This release is the third Release Candidate for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

[...] For source downloads of PHP 7.2.0 Release Candidate 3 please visit the download page, Windows sources and binaries can be found at windows.php.net/qa/.

You can find out the changes that happened in the latest NEWS file and find out how to upgrade your installation in the UPGRADING guide.

tagged: language release php72 releasecandidate rc3

Link: http://php.net/index.php#id2017-09-28-2

PHP.net:
PHP 7.2.0 Release Candidate 2 Released
Sep 15, 2017 @ 10:48:28

On the PHP.net site they've posted an announcement about the latest Release Candidate of the language for the PHP 7.2.x series: PHP 7.2.0 Release Candidate 2.

The PHP development team announces the immediate availability of PHP 7.2.0 RC2. This release is the second Release Candidate for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

[...] For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

You can download this latest pre-release version from either the source downloads or Windows site for the Windows binaries. The next release candidate will be posted on September 28th according to the release schedule with a few more to follow to work out all of the potential issues in this next major release of the language.

tagged: php language release php72 releasecandidate php72rc2 preview

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

Martin Hujer:
PHP 7.2 is due in November. What's new?
Sep 12, 2017 @ 10:15:58

In a new post to his site Martin Hujer looks ahead at the next major release for the PHP language - PHP 7.2 - and what new features and changes are coming with it.

PHP 7.2 is planned to be released on 30th November 2017 (see the timetable). And it comes with two new security features in the core, several smaller improvements and some language legacy clean-ups. In the article, I will describe what the improvements and changes are. I read the RFCs, discussions on internals and PRs on Github, so you don't have to.

Among the changes he lists are updates like:

  • Argon2 Password Hashing
  • Make Libsodium a Core Extension
  • Object typehint
  • Counting of non-countable objects

He also lists out some of the things that will be deprecated in 7.2 including parse_str without a second argument, create_function, mbstring.func_overload and asset with a string argument. You can check out these and other other changes coming (along with code examples) in the full post.

tagged: php72 language release upcoming feature deprecation overview

Link: https://blog.martinhujer.cz/php-7-2-is-due-in-november-whats-new/

PHP.net:
PHP 7.2.0 Release Candidate 1 Released
Aug 31, 2017 @ 11:54:12

As is mentioned in this new post on the PHP.net site, the first release candidate of the PHP 7.2.0 pre-release cycle has been officially released: PHP 7.2.0 RC1.

The PHP development team announces the immediate availability of PHP 7.2.0 Release Candidate 1. This release is the first Release Candidate for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

[...] For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

Changes in this release include updates in the GD image handling, PCRE's UTF-8 handling, SQLite driver update, a CURL issue wth OpenSSL detection and Internationalization changes. You can download this pre-production release from either the source download site or the Windows QA site for the Windows binaries.

tagged: language release php72 releasecandidate rc1

Link: http://php.net/index.php#id2017-08-31-1

PHP.net:
PHP 7.2.0 Beta 3 Released
Aug 17, 2017 @ 09:12:13

On the main PHP.net site they've posted the announcement of the release of the latest beta for PHP 7.2.0: PHP 7.2.0 beta 3:

The PHP development team announces the immediate availability of PHP 7.2.0 Beta 3. This release is the third and final beta for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

This development only release includes mostly bugfixes (full list here) and can be downloaded from the usual QA sites: source and Windows binaries. This is the last beta release for PHP 7.2.0. The next release in the series will be PHP 7.2.0 RC1 on August 31st.

tagged: language release php72beta3 php72 development

Link: http://php.net/index.php#id2017-08-17-1

PHP.net:
PHP 7.2.0 Beta 2 Released
Aug 07, 2017 @ 12:16:44

The PHP.net site has posted an announcement about the release of the latest beta in the pre-releases of the PHP 7.2.0 series - PHP 7.2.0 Beta 2.

The PHP development team announces the immediate availability of PHP 7.2.0 Beta 2. This release is the second beta for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

[...] For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

As always this pre-release version is available for download from the usual QA sites: source packages and Winodws binaries. The next beta will be released on August 17th and will be the final beta version before the full release.

tagged: language release php72beta2 beta2 php72

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

Colin O'Dell:
Testing PHP 7.2 With Docker
Jul 07, 2017 @ 11:58:07

Colin O'Dell has posted a guide that you can follow to help you test your applications with the latest version of the PHP 7.2 pre-releases using a simple Docker setup.

PHP 7.2 is slated for release in November 2017, but you don't have to wait until then to start testing your applications! We can easily use Docker to test against the latest pre-release versions of 7.2.

He's even created a Docker image that's posted on DockerHub to make the process even simpler. He shows how to reference specific types (php-fpm, apache, etc) and specific tags for the PHP pre-releases on each. He encourages you to log bugs in the PHP if found and report issues to him if there's a problem with the Docker setup. He also mentions that, since the mcrypt extension was removed by default from PHP 7.2, you'll need some special commands to get it set up and working (via a PECL install).

tagged: testing php72 prerelease version docker image dockerhub

Link: https://www.colinodell.com/blog/201707/testing-php-72-docker