Add coalesce and spaceship operators to xhpast
Summary:
- $value ?? $other is roughtly translates to isset($value) ? $value : $other
- $a <=> $b translates to ($a < $b) ? -1 : (($a > $b) ? 1 : 0).
Because these new tokens appear in-between other tokens, a lot of token values were updated. All test cases have been updated to have the correct token values.
Test Plan: Fully rebuild xhpast, run all parser tests.
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D15860