PHP 7 – Coalescing Operator is use as ternory operator and use of this variable you check a variable data. Such as-

//Coalescing operator

$var = $data??”;

//Ternory operator

$var = $data?$data:”;

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: