Answers for "php short ternary isset"

PHP
3

php shorthand if isset

$var = $var ?? "default";
Posted by: Guest on May-29-2020
1

ternary in php

print ($marks>=40) ? "pass" : "Fail";
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language