Add spaceship and null coalesce operators to PHP language support

Authored by mtijink on Jul 12 2017, 9:23 PM.

Description

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

Details

Committed
zhigalinJul 12 2017, 9:23 PM
Reviewer
zhigalin
Differential Revision
D6645: Add spaceship and null coalesce operators to PHP language support
Parents
R52:dad970d96bee: Better support iterable typehint in PHP language
Branches
Unknown
Tags
Unknown