IntlChar Class is added in PHP 7.which seeks to expose additional ICU functionality.IntlChar Class give access to a number of static methods and constants that can be used to access information about Unicode characters.
Note:In Order to use this class, You need to install Intl extension.
<?php printf('%x', IntlChar::CODEPOINT_MAX); print (IntlChar::charName('@')); print(IntlChar::ispunct('!')); ?>
10ffff COMMERCIAL AT true
Return Type Declarations has been introduced in PHP 7.It specify the type of value that a function should return. The following types can be assigned to function return value.
session_start() is Old function of PHP.But from PHP 7 session_start() function accepts an array of options.
Null coalescing operator (??) has been introduced in PHP 7.This is replacement of ternary operator in conjunction with isset() function.