I’ve used null coalesce in MySQL before, but it will be nice to have it in PHP. I didn’t know about that shorthand version of the ternary operator though, thanks for mentioning that! :)