3 ms·
PHP is elegant and useful. The spread operator is ...$array is elegant. $var ? "not found"; is really elegant.
by ipaddr 5y ago
PHP is elegant and useful.
The spread operator is ...$array is elegant. $var ? "not found"; is really elegant.
- eloisius 5y agoIt’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 5y agoYour post is 10 years too late because we are talking about php today. PHP was elegant in different ways 10 years ago.
- keyle 5y agoI think you meant ?? or ?= ?