What’s New Features in PHP 7.4


New Features PHP 7.4

What’s New Features in PHP 7.4

New Features PHP 7.4

 

PHP 7.4 is a last version before PHP 8. It comes with lots of new features, syntax additions and fixes. It was be released on November 28, 2019. In this post you’ll get a list with everything that’s new and changed to help you prepare for the upgrade. Let’s start though with a few features, included in PHP 7.4:

  • Typed Properties in classes
  • Arrow Functions for cleaner one-liner functions
  • Limited Return Type Covariance and Argument Type Contravariance as a shorthand
  • Unpacking Inside Arrays
  • Numeric Literal Separator
  • Weak References
  • Allow Exceptions from __toString()
  • Opcache Preloading
  • Several Deprecations
  • Extensions Removed from the Core
  • Spread operators introduce in array
  • Underscores can be used to format numeric values in PHP 7.4

I am a graphic and web designer in Delhi and Professional Web and Graphics Designer & Animator. I provide SEO Service in Delhi along with SEO, Web and Graphics Designing Courses training with latest technique.