April 2026
Intermediate
1009 pages
34h 15m
English
The new features in PHP 5.6 are not too extensive. For this reason, we have also listed the most important new features in PHP 5.4 and 5.5 compared to 5.3:
There have been various innovations in object orientation:
In PHP 5.4, traits were added that allow the reuse of code in generally defined methods.
With PHP 5.4, properties and methods can be accessed directly in the instantiation of an object.
In PHP 5.5, you can read class names including namespaces with ::class.
In PHP 5.6, you can use the use keyword to import constants and the like into classes.
There are also multiple language changes:
In PHP 5.4, there were some new features for arrays. Among other things, ...
Read now
Unlock full access