Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
salathe
· 17y ago · 0 comments
PHP 5.3 (and/or 6, I forget) gives us
$var = $tom ?: 'ed';
Comments
[–]
compay
17y ago
I love how Groovy refers to that as the "Elvis" operator.