Question from the PHP8 test

How to use the null coalescing operator in PHP

Hard

What does this example show?


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