Fatal error: Maximum execution time of 30 seconds exceededhasEvenNumberOfParentheses is intended to check if a given expression has an even number of parentheses. The error seems to be triggered by the call to token_get_all('<?php '.$expression);, suggesting that parsing the expression takes too long.