protected function shouldEval($value) { switch ($value[0]) { case "exp": if ($value[1] == "/") { return $this->shouldEval($value[2], $value[3]); } case "var": case "fncall": return true; } return false; }