public function analyze() { $this->atomFunctionIs('\\define')->outIs('ARGUMENTS')->outWithRank('ARGUMENT', 1)->tokenIs(array('T_ARRAY', 'T_OPEN_BRACKET'))->back('first'); $this->prepareQuery(); // define('a', $var) with $var is an array }