Lines Matching defs:str
17 * @param string $str
21 public static function toHtml($str, $all = false)
24 foreach (Unicode::fromUtf8($str) as $cp) {
51 * @param string $str UTF-8 encoded string
55 public static function fromHtml($str, $entities = false)
61 $str
68 $str
127 * @param string $str
131 public static function toUtf16be($str, $bom = false)
135 return $out . mb_convert_encoding($str, 'UTF-16BE', 'UTF-8');
138 $uni = Unicode::fromUtf8($str);
150 * @param string $str
153 public static function fromUtf16be($str)
155 $uni = unpack('n*', $str);