Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 207) sorted by relevance

123456789

/PHP-8.3/ext/opcache/tests/jit/
H A Dbug81249.phpt44 if ($byte === '') {
54 $byte = ord($byte);
56 if ($this->lead === 0x8E && ($byte >= 0xA1 && $byte <= 0xDF)) {
62 if ($this->lead === 0x8F && ($byte >= 0xA1 && $byte <= 0xFE)) {
64 $this->lead = $byte;
74 if (($lead >= 0xA1 && $lead <= 0xFE) && ($byte >= 0xA1 && $byte <= 0xFE)) {
90 if ($byte <= 0x7F) {
97 if ($byte <= 0x7F) {
98 return $byte;
101 if ($byte === 0x8E || $byte === 0x8F || ($byte >= 0xA1 && $byte <= 0xFE)) {
[all …]
/PHP-8.3/ext/xml/tests/
H A Dbug26614.phpt16 <DATA> at line 2, col 0 (byte 45)
17 </DATA> at line 9, col 0 (byte 89)
19 <DATA> at line 2, col 0 (byte 45)
20 </DATA> at line 9, col 0 (byte 89)
22 <DATA> at line 2, col 0 (byte 45)
23 </DATA> at line 9, col 0 (byte 89)
H A Dbug26614_libxml_gte2_11.phpt17 <DATA> at line 2, col %d (byte 50)
18 </DATA> at line 9, col %d (byte 96)
20 <DATA> at line 2, col %d (byte 50)
21 </DATA> at line 9, col %d (byte 96)
23 <DATA> at line 2, col %d (byte 50)
24 </DATA> at line 9, col %d (byte 96)
H A Dbug26614_libxml_pre2_11.phpt17 <DATA> at line 2, col %d (byte 9)
18 </DATA> at line 9, col %d (byte 55)
20 <DATA> at line 2, col %d (byte 9)
21 </DATA> at line 9, col %d (byte 55)
23 <DATA> at line 2, col %d (byte 9)
24 </DATA> at line 9, col %d (byte 55)
/PHP-8.3/ext/standard/tests/strings/
H A Dhtmlentities21.phpt136 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
139 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
142 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
145 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
148 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
151 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
154 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
157 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
160 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
163 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities23.phpt9 "\x8F\xA0", //1 sub, A0 is not valid as sole/first byte
31 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
38 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
45 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
52 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
59 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
66 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
73 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
80 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
87 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities22.phpt70 echo "\n*** Testing HTML 5 with another single-byte encoding ***\n";
74 echo "\n*** Testing HTML 5 with another multibyte-byte encoding ***\n";
225 *** Testing HTML 5 with another single-byte encoding ***
254 *** Testing HTML 5 with another multibyte-byte encoding ***
256 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
259 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
262 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
265 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
268 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
271 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
/PHP-8.3/ext/zlib/tests/
H A Dgzseek_basic.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 100th byte\n";
22 echo "\nmove backward to the 20th byte\n";
30 move to the 50th byte
35 move forward to the 100th byte
40 move backward to the 20th byte
H A Dgzseek_variation2.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 100th byte\n";
22 echo "\nmove backward to the 20th byte\n";
30 move to the 50th byte
35 move forward to the 100th byte
40 move backward to the 20th byte
H A Dgzseek_variation3.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 94th byte\n";
22 echo "\nmove backward to the 77th byte\n";
30 move to the 50th byte
35 move forward to the 94th byte
41 move backward to the 77th byte
/PHP-8.3/ext/standard/tests/array/range/
H A Drange_inputs_string_invalid.phpt8 echo "Range will ignore any byte after the first one\n";
25 Range will ignore any byte after the first one
27 Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in %s on…
29 Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in %s on l…
40 …ing: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single
48 …ng: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single b…
55 …ng: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single b…
67 …ing: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single
/PHP-8.3/ext/mbstring/tests/
H A Dmb_stripos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
H A Dmb_strpos_empty_needle.phpt37 echo "\n-- Multi-byte string without offset --\n";
40 echo "\n-- Multi-byte string with in range positive offset --\n";
43 echo "\n-- Multi-byte string with in range negative offset --\n";
46 echo "\n-- Multi-byte string with out of bound positive offset --\n";
53 echo "\n-- Multi-byte string with out of bound negative offset --\n";
77 -- Multi-byte string without offset --
80 -- Multi-byte string with in range positive offset --
83 -- Multi-byte string with in range negative offset --
86 -- Multi-byte string with out of bound positive offset --
89 -- Multi-byte string with out of bound negative offset --
H A Dmb_strripos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
H A Dmb_strrpos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
H A Dencoding_tests.inc43 // We may be on a 32-bit machine and testing a text encoding with 4-byte codes
206 // `$startBytes` maps from first-byte values to the corresponding character length
207 // (For encodings where the first byte can tell you the length of a multi-byte
221 for ($byte = 0; $byte < 256; $byte++) {
222 $str = $prefix . chr($byte);
252 for ($byte = 0; $byte < 256; $byte++) {
253 if (isset($startBytes[$byte])) {
254 $fixedLength(chr($byte), $startBytes[$byte] - 1);
256 $str = chr($byte);
/PHP-8.3/ext/gd/libgd/
H A Dgdft.c212 int byte; in gdTcl_UtfToUniChar() local
216 if (byte == '&') { in gdTcl_UtfToUniChar()
222 if (byte == 'x' || byte == 'X') { in gdTcl_UtfToUniChar()
225 if (byte >= 'A' && byte <= 'F') in gdTcl_UtfToUniChar()
226 byte = byte - 'A' + 10; in gdTcl_UtfToUniChar()
227 else if (byte >= 'a' && byte <= 'f') in gdTcl_UtfToUniChar()
228 byte = byte - 'a' + 10; in gdTcl_UtfToUniChar()
229 else if (byte >= '0' && byte <= '9') in gdTcl_UtfToUniChar()
230 byte = byte - '0'; in gdTcl_UtfToUniChar()
238 if (byte >= '0' && byte <= '9') { in gdTcl_UtfToUniChar()
[all …]
/PHP-8.3/Zend/tests/
H A Dreplace_pred_pi_node.phpt6 $byte = '';
7 if ($a && $byte > 0 && $b) {}
8 unknown($byte);
/PHP-8.3/ext/phar/tests/
H A Dcreate_path_error.phpt32 "Font\xE5\x84\xB7\xE9\xBB\x91pro.ttf", //two valid multi-byte characters
33 "\xF0\x9F\x98\x8D.ttf", // valid 4 byte char - smiling face with heart-shaped eyes
34 "Font\xE9\xBBpro.ttf", //Invalid multi-byte character - missing last byte
35 "Font\xBB\x91pro.ttf", //Invalid multi-byte character - missing first byte
36 "Font\xC0\xAFpro.ttf", //Invalid multi-byte character - invalid first byte
37 "Font\xF0\x80\x90\x90pro.ttf", //Invalid multi-byte character - surrogate pair code point
38 …"\xFC\x81\x81\x81\x81pro.ttf", //RFC 3629 limited char points to 0000-10FFFF aka 5 byte utf-8 not …
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic9039 >0 byte x \b, 2048-byte sectors
9213 >0 byte x (2048-byte sectors)
9218 >0 byte x (2352-byte sectors)
9239 >0 byte x (2048-byte sectors)
9244 >0 byte x (2352-byte sectors)
12142 >5 byte 0 invalid byte order
30673 >5 byte 0 invalid byte order
31284 >8 byte >0 %d byte words,
31292 >32 byte 5 4-byte floats,
32834 >6 byte >0 with %d byte name
[all …]
H A Dmagic私はガラスを食べられます9039 >0 byte x \b, 2048-byte sectors
9213 >0 byte x (2048-byte sectors)
9218 >0 byte x (2352-byte sectors)
9239 >0 byte x (2048-byte sectors)
9244 >0 byte x (2352-byte sectors)
12142 >5 byte 0 invalid byte order
30673 >5 byte 0 invalid byte order
31284 >8 byte >0 %d byte words,
31292 >32 byte 5 4-byte floats,
32834 >6 byte >0 with %d byte name
[all …]
/PHP-8.3/ext/oci8/tests/
H A Dnull_byte_3.phpt19 echo "Test 1: Invalid use of a null byte\n";
24 echo "Test 2: Using a null byte in a bind variable value causing WHERE clause to fail\n";
35 Test 1: Invalid use of a null byte
38 Test 2: Using a null byte in a bind variable value causing WHERE clause to fail
H A Dnull_byte_2.phpt21 echo "Test 1: Valid use of a null byte\n";
28 echo "Test 3: Using a null byte in a bind variable name\n";
38 Test 1: Valid use of a null byte
46 Test 3: Using a null byte in a bind variable name
H A Dbug41069.phpt34 c2 varchar2(60 byte),
35 c3 varchar2(1000 byte),
36 c4 varchar2(255 byte),
37 c5 varchar2(2 byte),
38 c6 varchar2(1 byte),
39 c7 varchar2(255 byte),
40 c8 varchar2(50 byte),
44 c13 varchar2(20 byte),
45 c15 varchar2(50 byte)
/PHP-8.3/ext/standard/tests/general_functions/
H A Dproc_open_array.phpt20 echo "\nNul byte in program name:\n";
27 echo "\nNul byte in argument:\n";
80 Nul byte in program name:
81 Command array element 1 contains a null byte
83 Nul byte in argument:
84 Command array element 2 contains a null byte

Completed in 364 milliseconds

123456789