What is PHP 7?

PHP 7 is a major release of PHP programming language and is touted to be a revolution in the way web applications can be developed and delivered for mobile to enterprises and the cloud.

PHP 7 uses new Zend Engine 3.0 to improve application performance almost twice and 50% better … Read more

New Features of PHP 7 ?

Lot of features added to PHP 7, the most significant ones are mentioned below −

Improved performance − Having PHPNG code merged in PHP7, it is twice as fast as PHP 5.

Lower Memory Consumption − Optimized PHP 7 utilizes lesser resource.

Scalar type declarations − Now parameter and return … Read more

Scalar type declarations in PHP 7 ?

In PHP 7, introduced Scalar type declarations, has been . Scalar type declaration has two options −

coercive – coercive is default mode and need not to be specified.

strict – strict mode has to explicitly hinted.

It support gollowing types for function parameters,

int,float,bool,string,interfaces,array,
callable.

Scalar type declaration :
Read more