Exploring PHP 8.0: Everything you need to know about the new PHP
Exploring PHP8 is a free eBook written by Larry Garfield and published on Leanpub. The book is available in the eBook in any format such as PDF, epub or mobi for kindle devices. The book as its name indicate explores PHP 8 features from JIT compilation, attributes, named arguments, to improved ones such as Union types, stringable interface, match() expressions, trailing commas in function definition and closures, weak maps, new string functions, token objects, variable dereferencing, type respecting variadics, safe division, class and objects improvements, date and time handling, locale improvements, error handling improvements, and Cryptographic Message Syntax support to avoid any confusion with content management systems (CMS).
The book is filled with in-depth explanations, examples, historical context, and the occasional pun, think of it as the only changelog you will ever enjoy reading.
The author didn’t miss any new feature or improvement on the PHP8 programming language without mentioning it even briefly. The book also talk about changes and backward compatibility challenges : Feature like stable sorting, numeric string handling, non numeric algorithmic, extensions in extensions out, stricter magic, stricter errors and warnings, resource evolution and devolution.
PHP 8.0 is a landmark release, including major new features, minor cleanup, and everything in between. This free ebook, provided by Platform.sh provides also detailed explanation on how to get PHP 8 up and running on Platform.sh from installation, configuration, upgrading PHP and local development with Lando.