Question from the PHP8 test

How to use the null coalescing operator in PHP

Medium

What does this example show?


$b = 12;
echo $a ?? $b;
Author: Vincent CotroStatus: Published(Update)Question passed 292 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!