Full-stack web dev with a passion for software architecture and programming best coffees.
Nothing here yet.
I think yes, it's at the same level as empty($a) , but the point is we're letting go of a tiny bit of readability in exchange for a more trusted/clear code. When we do $a === [] we know for sure that it's a plain array and not an Arrayable object or similar. It's down to personal preference anyway.