If using concatenation remember to protect the ?? with brackets, otherwise the concatenation will happen first and then test the concatenated string for null
print "Hello " . null ?? "Anonymous";
-- "Hello"
print "Hello " . (null ?? "Anonymous");
-- "Hello Anonymous"