|Re: [pdt-dev] PHP 5.6 support|
On 29 wrzeÅnia 2014 at 15:19:34, MichaÅ NiewrzaÅ (michal.n@xxxxxxxx) wrote:
Probably none know now ;)
PHP 7 will introduce AST-based compilation, and as I see in parser  isReference and isVariadic are just a flags. So we can also use just a flag.
We should remember about this flag in in TI, CA, Formatter and label providers. FormatParameter#isVariadic should simplify an access.
But, if you introduce special field (like isOptional), you have to remember about ASTMatcher.
 - https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y#L546