<?php token_get_all(string $code, int $flags = 0): array
<?php protected static function hasEvenNumberOfParentheses(string $expression) { $tokens = token_get_all('<?php '.$expression); if (Arr::last($tokens) !== ')') { return false;