Open Laboratory for Technocrats

Grab the developer role, learn concepts & prepare with senior software engineers to get solutions for problems in a software job. Coding and Programming Solutions crafted for you.

Welcome PHP 7 - New things

Version 7.0.0
Released with the following things:
Version 7 comes with new zend engine and improvments and fixes as stated here.
  1. Performance : 2X faster than previous version
  2. Improved the use of memory under the roof
  3. Syntax tree is Abstract now
  4. Consistent 64-bit support
  5. Exception Handling improved
  6. Many fatal errors converted to Exceptions
  7. Secure random number generator
  8. Removed old and unsupported SAPIs and extensions
  9. The null coalescing operator (??)
  10. Return and Scalar Type Declarations
  11. Anonymous Classes
  12. Zero cost asserts

The migration from previous version to the new version will require some sound understanding of the new features that have been implemented.
List comes from here with explanations: LINK
  1. Scalar type declaration
  2. Return type declarations
  3. Null coalesce operator
  4. Spaceship operator
  5. Constant arrays using define()
  6. Anonymous Classes
  7. Unicode codepoint escape syntax
  8. Closure::call()
  9. Filtered unserialize()
  10. IntlChar
  11. Expectations
  12. Group use declarations
  13. Generator Return Expression
  14. Generator delegation
  15. Integer division with intdiv()
  16. Session options
  17. preg_replace_callback_array()
  18. CSPRNG Functions
  19. list() can always unpack objects implementing ArrayAccess

Will try to explain particular points in the further posts.

Keep Learning :)

Top #3 Articles

Most Read