Skip to content
Commit 8da5db99 authored by Matthijs Tijink's avatar Matthijs Tijink Committed by Alexander Zhigalin
Browse files

Add spaceship and null coalesce operators to PHP language support

Summary: This diff adds the spaceship operator `<=>` (returning `-1`, `0` or `1`, useful in implementing comparison functions) and the null coalesce operator `??` (returning the left operand if it is set and is not null, otherwise the second operand).

Reviewers: #kdevelop, zhigalin, pprkut

Reviewed By: zhigalin

Subscribers: zhigalin, kdevelop-devel, #kdevelop

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D6645
parent dad970d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment