function smiley($match, $state, $pos) { $this->_addCall('smiley', array($match), $pos); return true; }