PHP’s null coalescing operator vs elvis operator
I saw this comparison of PHP’s null coalescing operator (??) vs its
elvis operator (?:).
I’ve heard of both of these and have used them rarely. Nice to have a full table comparison.
I saw this comparison of PHP’s null coalescing operator (??) vs its
elvis operator (?:).
I’ve heard of both of these and have used them rarely. Nice to have a full table comparison.