Question from the PHP - Fundamentals test

Usage of the null coalescing operator in PHP

Medium

What is the output of the following code ?

if ("welove" <> "devs") {
	$color = "blue";
}
echo $color = $color ?? "red";
Author: ThéoStatus: PublishedQuestion passed 891 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!