Lines Matching refs:in
12 * Unicode characters. Astral planes are supported ie. the ints in the
20 * Note: this function has been modified slightly in this library to
40 $mBytes = 1; // cached expected number of octets in the current sequence
47 $in = ord($str[$i]);
52 if (0 === (0x80 & $in)) {
54 $out[] = $in;
56 } elseif (0xC0 === (0xE0 & $in)) {
58 $mUcs4 = $in;
62 } elseif (0xE0 === (0xF0 & $in)) {
64 $mUcs4 = $in;
68 } elseif (0xF0 === (0xF8 & $in)) {
70 $mUcs4 = $in;
74 } elseif (0xF8 === (0xFC & $in)) {
83 $mUcs4 = $in;
87 } elseif (0xFC === (0xFE & $in)) {
89 $mUcs4 = $in;
94 /* Current octet is neither in the US-ASCII range nor a legal first
99 'in UTF-8 at byte ' . $i,
104 } elseif (0x80 === (0xC0 & $in)) {
109 $tmp = $in;
134 'in UTF-8 at byte ' . $i,
154 *((0xC0 & (*in) != 0x80) && (mState != 0))
159 ' sequence in UTF-8 at byte ' . $i,
171 * a UTF-8 string. Astral planes are supported ie. the ints in the
179 * Note: this function has been modified slightly in this library to use