The grammar is taken from HHVM. Using any other would make more mess. Thanks. Dmitry.
________________________________________ From: Tom Worster <f...@thefsb.org> Sent: Saturday, April 16, 2016 04:54 To: Dmitry Stogov; internals Subject: Re: [PHP-DEV] [RFC] Nullable Types On 4/15/16 1:58 PM, Dmitry Stogov wrote: > A week ago, I actually wrote my own RFC > https://wiki.php.net/rfc/nullable_return_types You proposed the ?Something grammar. With ?: and ?? appearing in recent PHP and proposals for ??= if not ?:= and now this, I feel we're heading to regex hell :p Tom > but didn't push it for discussion in favor of Levi's nullable_type RFC (they > are almost the same). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php