Questions Tagged [null-coalescing-operator]

The null-coalescing operator (?? in PHP 7) is used to define a default value for nullable value types or reference types. It returns the left-hand operand if the operand is not null; otherwise it returns the right operand.

Question is empty. Ask new Question

Popular Questions