Limit your variables with pre-selected values setup by using new scalar type of enum
and by as cool and fun as JAVA or C# developers!
PHP
PHP 8.1 – New Warning being throw when converting float to int
For plain float
type of variables or float being marked as string, there will be thrown a PHP Deprecation about potential data loss.
Read morePHP 8.1 – New Warning being throw when converting float to int
PHP 8.1 – Localized Date Formats
Format your date with local date structure to combine different format and pattern for full date via new class ` IntlDatePatternGenerator
and methods like: getBestPattern()
.
PHP 8.1 – Multi Classes Types
Combine two or more types of classes (or array
) to be required by the class property, local variable or a return type of the function.
PHP 8.1 – All Deprecated functions and features
Here is a list of all deprecated functions and things in latest PHP 8.1.
PHP 8.1 – Deprecate autovivification on false
You won’t be able to initialize array from falsy values any more this include: only false values and nothing else.
COMPLETE list of changes in PHP 8.1 – Features & Deprecations – Overview, October 2021
Finally we have a Release Candidate v4 for PHP 8.1. What have changed? and what’s got added new? But mainly what did they decided to drop from the language? Read this and surprise your boss/team with super sweet knowledge of new technologies!
Read moreCOMPLETE list of changes in PHP 8.1 – Features & Deprecations – Overview, October 2021