protected function getExprGrammarSet() { $expr = parent::getExprGrammarSet(); $expr['expr'][] = 'new [classname]([funccallparam])'; $expr['expr'][] = '[classname]::[funccall]'; return $expr; }
protected function getExprGrammarSet() { $expr = parent::getExprGrammarSet(); $expr['expr'][] = 'new [classname]([funccallparam])'; $expr['expr'][] = '[methodcall]'; $expr['expr'][] = '[methodcall]'; $expr['expr'][] = '[methodcall]'; $expr['expr'][] = '[methodcall]'; // Add some 'char's for ($ii = 0; $ii < 2; $ii++) { $expr['expr'][] = "'" . Filesystem::readRandomCharacters(1) . "'"; } return $expr; }