Lines Matching refs:cp
576 foreach (utf8_to_unicode($str) as $cp) {
577 if ($cp < 0x80)
578 $ret .= chr($cp);
579 elseif ($cp < 0x100)
580 $ret .= "&#$cp;";
582 $ret .= '&#x'.dechex($cp).';';
632 $cp = hexdec($ent[3]);
635 $cp = intval($ent[3]);
638 return unicode_to_utf8(array($cp));
970 foreach($uni as $cp){
971 $out .= pack('n',$cp);