Better HN
top
new
best
ask
show
jobs
Log in
Sign up
PHP 7 null coalescing operator | Better HN
PHP 7 null coalescing operator
(richardbagshaw.co.uk)
1 points · by
bagwaa
· 11y ago · 1 comment
Comments
[–]
roddux
11y ago
This is a neat operator, but my first thought was that I'd probably forget it's specifics and misuse it thinking that it checks for falsy variables as well. This wouldn't help you in checking for a blank string, say.