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

php[architect]:
PHP 7.3 is On Track
Sep 17, 2018 @ 11:19:58

On the php[architect] site they've shared another article from their September 2018 issue. In this new article author Damien Seguy looks forward to PHP 7.3 and covers some of the new features that come with it.

PHP 7.3 successfully passed the “feature freeze” deadline. On Aug. 1st, 2018 all features for PHP 7.3 were identified. This triggered the first PHP 7.3 beta, on the following day, and, from there, we’ll reach RC in September. It is time to review what this new PHP version has available for us, help test PHP 7.3, and get ready.

He goes through several of the changes coming including:

  • Improved Garbage Collector
  • Relaxed Heredoc/Nowdoc
  • Trailing Comma for Calls
  • Deprecated Case-insensitive Constants
  • PCRE 2.0
  • SQLite 3.24
  • Json_encode May Throw Exceptions
  • array_first_key(), array_last_key()
  • list() with References
  • is_countable()
  • net_get_interfaces()
  • Removing image2wbmp()
  • assert() is Now a Reserved Function
  • Continue for Loops, Break for Switch
  • Monotonic Timer: hrtime()
  • compact() Reports Undefined Variables

For each of the items listed, there's a brief explanation of what the feature is and some code to show it in action. The tutorial ends with a listing of some things you can do to prepare your current codebase to work with PHP 7.3 ahead of the December 13th release date.

tagged: language release php73 lookahead preparation features tutorial example

Link: https://www.phparch.com/2018/09/php-7-3-is-on-track/

Laravel News:
PHP 7.3’s First Release Candidate is Here
Sep 14, 2018 @ 09:54:29

In a new post to the Laravel News site, they've shared the announcement about the release of the first Release Candidate for PHP 7.3.x: PHP 7.3.0RC1.

PHP 7.3 is inching closer to general release (planned for December), with today’s announcement of the first PHP 7.3 release candidate:

The post also shares the upcoming timeline for the releases leading up to PHP 7.3.0 (stable) with the first beta release planned for November 20th. They also list out (and link to more information) for some of the features coming in 7.3 including:

  • Trailing Commas in function calls
  • Flexible Heredoc and Nowdoc syntax
  • list() reference assignment
tagged: language release php73rc1 detail announcement updates

Link: https://laravel-news.com/php-7-3-rc1

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

Laravel News:
PHP Docs Workflow for Alfred
Aug 22, 2018 @ 10:49:53

On the Laravel News site there's a new post sharing a workflow developed by Bill Clark that makes searching the PHP documentation with the Alfred tool easier.

PHP Docs workflow for Alfred by Bill Clark is a workflow for searching the PHP documentation from Alfred directly. The PHP Docs workflow code builds on Till Krüss’ Laravel Docs Workflow for Alfred that we recently covered.

[...] You can search the PHP documentation by opening up Alfred and prefixing your search with “php” and then the search term.

They give an example of how to search the documentation and a screenshot of the resulting list. You can find out more and get this Alfred workflow for yourself over on the GitHub repository for the project.

tagged: documentation language workflow alfred productivity tool github

Link: https://laravel-news.com/php-docs-workflow-for-alfred

PHP.net:
PHP 7.3.0.beta2 Released
Aug 16, 2018 @ 11:09:47

The main PHP.net site has posted announcement of the release of the latest beta for the PHP 7.3.0 series: PHP 7.3.0beta2

The PHP team is glad to announce the release of the sixth PHP 7.3.0 version, PHP 7.3.0beta2. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki.

[...] For more information on the new features and other changes, you can read the NEWS file, or the <a href="https://github.com/php/php-src/blob/php-7.3.0beta2/UPGRADING>UPGRADING file for a complete list of upgrading notes. Internal changes are listed in the UPGRADING.INTERNALS file. These files can also be found in the release archive.

The next release would be Beta 3, planned for August 30th.

You can download this latest preview release from either the source package site or from the Windows QA site for the Windows binaries.

tagged: language beta release php73beta2 announcement

Link: http://php.net/archive/2018.php#id2018-08-16-1

PHP.net:
PHP 7.3.0.beta1 Released
Aug 02, 2018 @ 11:13:01

On the main PHP.net site there's an announcement posted about the release of the latest pre-release of the PHP 7.3.x series: PHP 7.3.0.beta1.

The PHP team is glad to announce the release of the fifth PHP 7.3.0 version, PHP 7.3.0beta1. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki.

[...] Please carefully test this version and report any issues found in the bug reporting system.

Changes in this beta include fixes in the language core, SQLite3 handling, the SPL, and PDO PostgreSQL support. As always, you can download this pre-release from the PHP QA site for source downloads or Windows QA site for the Windows binaries.

tagged: language beta release php73beta1 announcement

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

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.3.0alpha4 Released
Jul 19, 2018 @ 12:49:13

The official PHP site has posted an announcement of the release of the latest alpha for the upcoming PHP 7.3.0 release: PHP 7.3.0 alpha 4.

The PHP team is glad to announce the release of the fourth PHP 7.3.0 version, PHP 7.3.0alpha4. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki.

This is a development release and should not be used in production. Changes in this alpha release include updates to core functionality, updates to filtering, FPM handling, mbstring and zip archive functionality. You can check out the NEWS file for a complete list of updates.

To download this latest release to try with your codebase, you can download the source from the QA downloads or get the Windows binaries from the Windows QA site. The next planned release of PHP 7.3.0 is the first beta and is set to release on August 2nd, 2018.

tagged: language release alpha php73alpha4 php73

Link: http://php.net/index.php#id2018-07-19-1

Matt Sparks:
I Want Scalar Objects in PHP
Jul 18, 2018 @ 14:16:09

Matt Sparks has an interesting post to his site sharing something he'd like to see in PHP 8 (quite a ways off in the future but still worth thinking about): scalar objects.

Recently, I read an interesting article from Andrew Carter entitled Make PHP Great Again [cheap plug: this link was included in my most recent Newsletter]. In it Andrew brought up the topic of scalar objects. If you’re not familiar with scalar objects, they represent a single value (integer, boolean, string, etc.) that you can perform operations on*.

He shares an example of what it might look like in PHP and his response to a tweet from Nikola Posa about what features they'd like to see. He then spends the remainder of the post making his case for the inclusion of scalar objects and how it can help clean up some of PHP's own naming and functional inconsistencies.

tagged: scalar object language feature opinion

Link: https://developmentmatt.com/i-want-scalar-objects-in-php/

PHP.net:
PHP 7.3.0 alpha 3 Released
Jul 05, 2018 @ 11:26:10

On the main PHP.net site they've posted an announcement about the release of the latest alpha version of the next major PHP release: PHP 7.3.0 alpha 3.

The PHP team is glad to announce the release of the third PHP 7.3.0 version, PHP 7.3.0 Alpha 3. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki.

[...] Please carefully test this version and report any issues found in the bug reporting system. [...] The next release would be Beta 1, planned for July 19th.

This latest release fixed bugs in a wide range of functionality all across the language including PostgreSQL handling, regular expressions, DOM parsing, the intl extension and OpenSSL. You can find complete details in the changes in the NEWS file for this latest release. As with other pre-stable releases, you can download this latest version for testing from the QA site for source packages or the Windows QA site for the Windows binaries.

tagged: language alpha release php73alpha3

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