New Features in PHP 7

We are very happy to introduce all of you to the major release of PHP 7.

  • Scalar type declarations
  • Return type declarations
  • Null coalescing operator
  • Spaceship operator
  • Constant arrays using define()
  • Anonymous classes
  • Unicode codepoint escape syntax
  • Closure::call()
  • Filtered unserialize()
  • Expectations
  • Group use declarations
  • Generator Return Expressions
  • Generator delegation
  • Integer division with intdiv()
  • Session options
  • CSPRNG Functions
Scroll Top