private function conditionCallback($matches) { $num = $this->_condCount; ++$this->_condCount; return '{|condition_' . $num . '|}'; }