WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML


 

PHP 7 Introduction



PHP 7 is release of PHP programming language and is touted to be an unrest in the manner web applications can be developed cloud and for mobile . This release is viewed as the most features change for PHP after the release of PHP 5 in 2004.

New Features

There are many highlights added to PHP 7, there are following listed −

  • Improved performance − Having PHPNG code converged in PHP7, it is twice as quick as PHP 5.

  • Lower Memory Consumption − Optimized PHP 7 uses lesser resource.

  • Scalar type declarations − Now parameter and return types can be enforced.

  • Consistent 64-bit support − Consistent help for 64-bit engineering machines.

  • Improved Exception hierarchy − Exception pecking order is improved.

  • Many fatal errors changed over to Exceptions − Range of special cases is expanded covering numerous lethal blunder changed over as exceptions.

  • Secure arbitrary number generator − Addition of new secure irregular number generator API.

  • Deprecated SAPIs and expansions removed − Various old and unsupported SAPIs and augmentations are expelled from the most recent version.

  • The null coalescing operator (??) − New null coalescing operator added.

  • Return and Scalar Type Declarations − Support for return type and parameter type added.

  • Anonymous Classes − Support for Anonymous added.

  • Zero cost asserts − Support for zero expense affirm added.

PHP 7 utilizes new Zend Engine 3.0 to improve application execution twice and half preferred memory utilization over PHP 5.6. It permits to serve progressively simultaneous clients without requiring any extra equipment. PHP 7 is structured and refactored considering the present workloads.