conditionals = $conditionals; $conditionals = array_map([$this, 'checkConditionalTag'], $this->conditionals); if (in_array(true, $conditionals)) { $this->result = false; } } private function checkConditionalTag($conditional) { if (is_array($conditional)) { list($tag, $args) = $conditional; } else { $tag = $conditional; $args = false; } if (function_exists($tag)) { return $args ? $tag($args) : $tag(); } else { return false; } } }