Add spaceship and null coalesce operators to PHP language support

Authored by mtijink on Jul 12 2017, 11:50 AM.



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).

Diff Detail

R52 KDevelop: PHP Support
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
mtijink created this revision.Jul 12 2017, 11:50 AM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJul 12 2017, 11:50 AM
zhigalin accepted this revision as: zhigalin.Jul 12 2017, 3:39 PM
zhigalin added a reviewer: pprkut.
zhigalin added a subscriber: zhigalin.

This one also looks good

This revision is now accepted and ready to land.Jul 12 2017, 3:39 PM
This revision was automatically updated to reflect the committed changes.