Exploring PHP 7 and its new features

In addition to answering “Where PHP 6.0 go?” this session will cover why PHP 7.0 should be embraced

  • Performance

    • Twice the Speed

    • What is PHP#NG (Next Generation).

    • Speed comparison between PHP, Ruby, Python and Perl.

    • Benchmarks of Drupal with php 5.6 and 7

  • Scalar Type Declarations

    • Coercive Mode

    • Strict Mode

  • New Operators

    • Null coalescing operator

    • Spaceship operator

  • Other new features(syntaxes) in PHP7.

    • Group use declarations

    • Adds Anonymous Classes

  • Error Handling

    • Engine Exceptions

    • Should we consider using Engine Exceptions and under what circumstances it makes sense to use them.

  • Cryptographically Secure PseudoRandom Number Generator in PHP.

  • Backward incompatible changes in PHP 7

  • Will PHP7 be fully supported in Drupal 7?

  • PHP 7 virtualbox with Drupal VM

  • Demo : Benchmarking a Drupal 8 site in php 5.6 and php 7.