Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ipaddr
4y ago
0 comments
Save
Share
PHP is elegant and useful. The spread operator is ...$array is elegant. $var ? "not found"; is really elegant.
0 comments
3 comments · 2 top-level
top
newest
oldest
eloisius
4y ago
· 1 in thread
It’s also about ten years later than everyone else to get those splat and null coalesce operators so it’s not like that elegance is unique or even timely for PHP.
ipaddr
OP
4y ago
Your post is 10 years too late because we are talking about php today. PHP was elegant in different ways 10 years ago.
keyle
4y ago
I think you meant ?? or ?= ?
j
/
k
navigate · click thread line to collapse