Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 25 of 105) sorted by relevance

12345

/php-src/ext/iconv/tests/
H A Dbug51250.phpt2 Bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
10 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= .", $m));
14 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= ."));
15 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= ."));
20 string(23) "Legal encoded-word: * ."
21 string(23) "Legal encoded-word: * ."
22 string(24) "Illegal encoded-word: ."
23 string(23) "Illegal encoded-word: ."
24 string(23) "Legal encoded-word: * ."
25 string(23) "Legal encoded-word: * ."
[all …]
H A Diconv_basic.phpt19 echo "Expected EUC-JP encoded string in base64:\n";
26 echo "Expected SJIS encoded string in base64:\n";
33 echo "Expected UTF-8 encoded string in base64:\n";
45 Expected EUC-JP encoded string in base64:
52 Expected SJIS encoded string in base64:
59 Expected UTF-8 encoded string in base64:
/php-src/ext/opcache/tests/jit/
H A Dadd_007.phpt21 $g = 0xff001; // Cannot be encoded into imm12 field
22 $h = 0x1000000; // Cannot be encoded into imm12 field
23 $i = 0xf12345678; // Cannot be encoded into imm12 field
24 $j = -31; // Cannot be encoded into imm12 field
44 $g = 0xff001; // Cannot be encoded into imm12 field
45 $h = 0x1000000; // Cannot be encoded into imm12 field
46 $i = 0xf12345678; // Cannot be encoded into imm12 field
47 $j = -31; // Cannot be encoded into imm12 field
H A Dbug81225_2.phpt18 …$e = $a + 2147483648; // 0x8000,0000 cannot encoded as imm field of lea r1, [r2 + imm]
19 …$f = $a + 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm]
28 …$e = $a + (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r…
29 …$f = $a + (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r…
39 …$f = $a - 2147483649; // 0x8000,0001 cannot encoded as imm field of lea r1, [r2 + imm]
40 …$g = $a - 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm]
49 …$e = $a - (-2147483648); // 0xFFFF,FFFF,8000,0000 cannot encoded as imm field of lea r1, [r…
50 …$f = $a - (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r…
51 …$g = $a - (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r…
H A Dcmp_005.phpt21 $g = 0xff001; // Cannot be encoded into imm12 field
22 $h = 0x1000000; // Cannot be encoded into imm12 field
23 $i = 0xf12345678; // Cannot be encoded into imm12 field
/php-src/ext/mbstring/tests/
H A Dmb_decode_mimeheader_variation5.phpt2 Test mb_decode_mimeheader() function: use of underscores in QPrint-encoded data
8 // RFC 2047 says that in a QPrint-encoded MIME encoded word, underscores should be converted to spa…
14 // This is how underscores should be encoded in MIME encoded words with QPrint
H A Dmb_convert_encoding_basic.phpt20 echo "JIS encoded string in base64:\n";
28 echo "EUC-JP encoded string in base64:\n";
36 echo "SJIS encoded string in base64:\n";
44 echo "UTF-8 encoded string in base64:\n";
57 JIS encoded string in base64:
65 EUC-JP encoded string in base64:
73 SJIS encoded string in base64:
81 UTF-8 encoded string in base64:
H A Dmb_convert_encoding_array.phpt32 echo "JIS encoded string in base64:\n";
40 echo "EUC-JP encoded string in base64:\n";
48 echo "SJIS encoded string in base64:\n";
56 echo "UTF-8 encoded string in base64:\n";
69 JIS encoded string in base64:
97 EUC-JP encoded string in base64:
125 SJIS encoded string in base64:
153 UTF-8 encoded string in base64:
H A Dzend_multibyte-05.phpt11 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it
13 // valid EUC-encoded character "鴻".
H A Dmb_convert_encoding_array2.phpt44 echo "JIS encoded string in base64:\n";
52 echo "EUC-JP encoded string in base64:\n";
60 echo "SJIS encoded string in base64:\n";
68 echo "UTF-8 encoded string in base64:\n";
81 JIS encoded string in base64:
115 EUC-JP encoded string in base64:
149 SJIS encoded string in base64:
183 UTF-8 encoded string in base64:
H A Dzend_multibyte-09.phpt12 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it
14 // valid EUC-encoded character "鴻".
H A Dmb_decode_mimeheader_variation4.phpt10 // valid MIME encoded words
27 // Handle = which doesn't initiate a valid encoded word
37 // and could never get out of that state; it would not even try to interpret any other encoded words
48 // Empty encoded word
60 // Empty encoded word with a ? which looks like it should be terminator, but = is missing
68 // Invalid encoded word, followed immediately by valid encoded word
72 // Another example of invalid encoded word followed immediately by valid encoded word
H A Dutf7imap_encoding.phpt29 /* RFC says that 0x00 should be Base64-encoded */
48 /* Identification of '&' when Base-64 encoded */
50 echo "& can be Base64-encoded... yes!\n";
70 /* Conversion of Base64-encoded ASCII characters (excluding &)
79 /* Conversion of & encoded as &- */
173 $encoded = mBase64($testString);
174 if (strlen($encoded) != 6)
178 identifyInvalidString("&" . substr($encoded, 0, strlen($encoded) - 1) . ",-", 'UTF7-IMAP');
182 /* OK, let's try valid Base64-encoded text now */
247 & can be Base64-encoded... yes!
[all …]
/php-src/ext/json/tests/
H A Dinf_nan_error.phpt2 An error is thrown when INF or NaN are encoded
32 string(34) "Inf and NaN cannot be JSON encoded"
35 string(34) "Inf and NaN cannot be JSON encoded"
40 string(34) "Inf and NaN cannot be JSON encoded"
43 string(34) "Inf and NaN cannot be JSON encoded"
H A Dbug54058.phpt32 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
34 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
36 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
38 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
H A Dbug61537.phpt27 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
30 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
34 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
37 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
H A Djson_validate_004.phpt26 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
29 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
32 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
35 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
H A Djson_encode_exceptions.phpt23 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
56 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
/php-src/Zend/tests/
H A Dbug80096.phpt10 println(htmlentities("The < character is encoded as &lt;", double_encode: false));
14 The &lt; character is encoded as &lt;
/php-src/ext/session/tests/
H A Dsession_encode_variation7.phpt18 $encoded = session_encode();
19 var_dump(base64_encode($encoded));
H A Dsession_decode_variation4.phpt20 $encoded = "A2Zvb2k6MTIzNDU2Nzg5MDs=";
21 var_dump(session_decode(base64_decode($encoded)));
H A Dsession_encode_variation8.phpt18 $encoded = session_encode();
19 var_dump(base64_encode($encoded));
/php-src/ext/standard/
H A Durl_scanner_ex.re598 zend_string *encoded;
604 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
612 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
739 zend_string *encoded;
765 smart_str_appendl(&sname, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
767 smart_str_appendl(&svalue, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
769 smart_str_appendl(&hname, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
771 smart_str_appendl(&hvalue, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
854 zend_string *encoded;
872 smart_str_appendl(&sname, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
[all …]
/php-src/ext/soap/tests/
H A Dclassmap.wsdl39 …<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http…
42 …<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http…
48 …<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http…
51 …<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http…
H A Dgh16318.phpt35 Recursive array cannot be encoded
36 Recursive array cannot be encoded

Completed in 65 milliseconds

12345