function ok(&$html) { if (!($pos1 = mb_strpos($html, '
', $pos1))) return array(); $part = mb_substr($html, $pos1, ($pos2 - $pos1)); preg_match('/([^<]+)<\/a>/siu', $part, $matches); preg_match('//siu', $html, $matches22); preg_match('/