Examples: Support for anonymous classes was added in PHP 7. Anonymous classes are useful when simple, one-off objects
Examples: Inheritance Example
Examples: using new unified constructors PHP 5 allows developers to declare constructor
Examples: Property declaration Class properties must be defined as public, private
Examples: References and Objects One of the key-points of PHP 5 OOP that is often
Examples: Final methods example PHP 5 introduces the final keyword, which prevents
Examples: property declarations Class member variables are called "properties"
Examples: self:: usage Static references to the current class like self::
Examples: Sleep and wakeup
Changelog: 5.3.0 Added __callStatic(). Added warning to enforce public visibility
Page 2 of 3