function _split($string) { return preg_replace( '%(<'. # EITHER: < '[^>]*'. # things that aren't > '(>|$)'. # > or end of string '|>)%e', # OR: just a > "\$this->_split2('\\1')", $string); } # function _split
function _split($string) { return preg_replace( '%(<[^>]*>|>)%e', "\$this->_split2('\\1')", $string); } # function _split