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

PHP.net:
PHP 7.1.12 and 7.2.11 Released
Oct 16, 2018 @ 09:32:08

The main PHP.net site has announced the release of two new versions of PHP in the 7.1 and 7.2 series: PHP 7.1.23 and PHP 7.2.11.

The PHP development team announces the immediate availability of PHP 7.1.23 [and 7.2.11. This is a bugfix release.

All PHP 7.1 [and 7.2] users are encouraged to upgrade to this version.

Bugs fixed in theses releases include updates to the core language, the curl extension, opcaching, reflection functionality and the XMLRPC handling. If you're interested in all of the changes and want more detail, check out their respective Changelogs. As always, you can download these latest releases from the main downloads page or from the windows.php.net site.

tagged: language release php71 php72 bugfix

Link: http://php.net/archive/2018.php#id2018-10-11-3

PHP.net:
PHP 7.1.22, 7.0.32, 7.2.1 and 7.3.0RC1 Released
Sep 13, 2018 @ 12:32:21

On the main PHP.net site they've announced the release of several new versions for the PHP 7.1.x and 7.2.x series as well as the first Release Candidate for PHP 7.3.0.

The PHP development team announces the immediate availability of PHP 7.1.22 [and 7.0.32/7.2.10]. This is a security release. One security bug has been fixed in this release. All PHP 7.1 [and 7.2] users are encouraged to upgrade to this version.

These updates can be downloaded from the main downloads page or windows.php.net for the Windows binaries. The pre-release PHP 7.3.0RC1 is also available from the QA site or the Windows QA site.

tagged: language release php71 php72 php73rc1

Link: http://php.net

PHP.net:
PHP 7.1.20 & 5.6.37 Released
Jul 20, 2018 @ 10:18:49

On the main PHP.net site an announcement has been posted of the latest versions in the PHP 7.1.x and 5.6.x series: 7.1.20 and 5.6.37.

The PHP development team announces the immediate availability of PHP 7.1.20 [and 5.6.37]. This is a security release. Several security bugs have been fixed in this release. All PHP 7.1 [and 5.6.37] users are encouraged to upgrade to this version.

Changes in these releases include updates to date/time handling, PHP-FPM, internationalization and PostgreSQL functionality. You can download this latest release either from the main PHP.net site (for source packages) or windows.php.net for the Windows binaries.

tagged: language release bugfix php71 php56

Link: http://php.net/index.php#id2018-07-20-2

PHP.net:
PHP 7.1.19 Released
Jun 25, 2018 @ 12:53:43

The main PHP.net site has announced the release of the latest version in the PHP 7.1.x series - PHP 7.1.19.

The PHP development team announces the immediate availability of PHP 7.1.19. All PHP 7.1 users are encouraged to upgrade to this version.

This is a bugfix release with fixes in the CLI server handling, OpenSSL functionality and a fix for a segfault in the SPL. You can see the full list of changes (and related bugs) in the Changelog for this release. As always, the release can be downloaded from the main downloads page or windows.php.net for the Windows binaries.

tagged: php71 bugfix release changelog

Link: http://php.net/archive/2018.php#id2018-06-25-1

PHP.net:
PHP 7.1.18 Release
May 28, 2018 @ 11:26:01

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

The PHP development team announces the immediate availability of PHP 7.1.18. All PHP 7.1 users are encouraged to upgrade to this version.

A few bugs were fixed in this release including issues in FPM handling, internationalization functionality and Opcache. You can see the full changelog here and, as always, download the latest version either from the main downloads page or windows.php.net for the Windows binaries.

tagged: language release bugfix php71

Link: http://php.net/index.php#id2018-05-25-1

Frank de Jonge:
Array destructuring in PHP
May 01, 2018 @ 09:48:15

Frank de Jonge has a post to his site sharing some helpful hints around the use of arrays in PHP. In this quick post he covers some of the array "superpowers", list assignments and nested destructuring.

One of the things I like the most about JavaScript, and PHP also to some extent, is how flexible and expressive they CAN be (but not always are). I also believe that JavaScript, PHP, and Python have a number of features that make them a good fit for serving the forefront of the web.

[...] The most versatile type of PHP, to me, is the array. The array can be used to act like many different classic data types. You can use them as a List, a Set (although that requires some specific handling), a HashMap, just to name a few.

He starts with the "superpowers" that arrays gained in PHP 7.1 (the square bracket syntax for destructuring) and some code examples showing it in action. He then moves on to show how this update works for list assignment. He finishes up the list with a look at nested destructuring and referencing values from subarrays with this same square bracket syntax.

tagged: array destructure language square bracket php71 tutorial

Link: https://blog.frankdejonge.nl/array-destructuring-in-php/

PHP.net:
PHP 7.1.17 & 5.6.36 Released (Bugfix)
Apr 30, 2018 @ 11:03:24

On the main PHP.net site they've announced the release of the next versions in the PHP 5.6 and 7.1 series:

Both are bugfixes for their respective versions and are bugfix releases with several issues corrected in the Exif, LDAP, Phar and iconv handling. It is recommended that you upgrade to either of these releases to correct these issues.

As always, you can download these latest releases either from a mirror on the main downloads page or windows.php.net for the Windows executables.

tagged: language release bugfix php56 php71

Link: http://php.net/index.php#id2018-04-26-3

PHP.net:
Multiple Versions Released - 7.1.15, 5.6.34 & 7.2.3
Mar 05, 2018 @ 12:43:35

The main PHP.net site has posted the announcement(s) of the release of updates for the three supported versions of the language: 7.1.15, 5.6.34 & 7.2.3.

The PHP development team announces the immediate availability of PHP 7.1.15, 5.6.34 and 7.2.3. This is a security fix release, containing one security fix and many bug fixes. All [PHP] users are encouraged to upgrade to this version.

Fixes include changes to the DateTime handling, LDAP connectivity, Phar construction, PostgreSQL issues and changes to the SPL. You can get these latest versions either from the main downloads page or on windows.php.net for the Windows binaries.

tagged: multiple version release php71 php72 php56 security bugfix

Link: http://php.net/archive/2018.php#id2018-03-02-1

Kinsta Blog:
The Definitive PHP 5.6, 7.0, 7.1, 7.2 & HHVM Benchmarks (2018)
Feb 28, 2018 @ 13:18:38

The Kinsta blog has published an article they call the Definitive PHP 5.6, 7.0, 7.1, 72. and HHVM benchmarks providing a comparison between these different versions running different popular PHP software (including WordPress, Drupal and Magento 2).

Each year we try and take a deep dive into performance benchmarks across various platforms and see how different versions of PHP and HHVM stack up against each other. This year we went all out and benchmarked four different PHP engines and HHVM across 20 different platforms/configurations; including WordPress, Drupal, Joomla!, Laravel, Symfony, and many more. We also tested popular eCommerce solutions such as WooCommerce, Easy Digital Downloads, Magento, and PrestaShop.

[...] The results this year have drastically changed from our previous benchmarks where HHVM was the winner. We now are excited to see PHP 7.2 as the leading engine in terms of speed. [...] This is great news for developers and end-users alike as it means more of a focus back on PHP and providing faster websites and web services for everyone.

The post then starts with a look at the system setup (well, Google Cloud instance) that's used for the testing and how it is configured. From there it goes into the test results from each of the different types of software:

  • WordPress
  • Drupal
  • Joomla!
  • Magento 2
  • Grav CMS
  • October CMS
  • Laravel
  • Symfony
  • PyroCMS
  • Pagekit
  • Bolt
  • AnchorCMS
  • PrestaShop
  • CraftCMS
  • ForkCMS

As you can see there's more of a leaning towards content management and e-commerce solutions in their list. It's good to see base frameworks in the list too, however. For each item in the list they provide a graph of the results showing requests per second.

tagged: benchmark php71 php72 hhvm php56 php70 software compare

Link: https://kinsta.com/blog/php-7-hhvm-benchmarks/

PHP.net:
PHP 7.1.14 Released
Feb 06, 2018 @ 12:39:41

On the main PHP.net site today there's 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.14. This is a bugfix release. Several bugs were fixed in this release.

All PHP 7.1 users are encouraged to upgrade to this version.

Fixes in this latest release include changes to FastCGI handling, IMAP functionality, RecursiveArrayIterator in the SPL and a connection fix for PostgreSQL. You can see the full list of changes and their related bugs in the full Changelog. This version is available for download form the usual locations: the main downloads page for the source packages and windows.php.net for the Windows binaries.

tagged: language release bugfix php71

Link: http://php.net/index.php#id2018-02-01-2