Home
last modified time | relevance | path

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

1234

/PHP-8.1/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-8.1/ext/opcache/tests/jit/
H A Dadd_007.phpt22 $g = 0xff001; // Cannot be encoded into imm12 field
23 $h = 0x1000000; // Cannot be encoded into imm12 field
24 $i = 0xf12345678; // Cannot be encoded into imm12 field
25 $j = -31; // Cannot be encoded into imm12 field
45 $g = 0xff001; // Cannot be encoded into imm12 field
46 $h = 0x1000000; // Cannot be encoded into imm12 field
47 $i = 0xf12345678; // Cannot be encoded into imm12 field
48 $j = -31; // Cannot be encoded into imm12 field
H A Dbug81225_2.phpt19 …$e = $a + 2147483648; // 0x8000,0000 cannot encoded as imm field of lea r1, [r2 + imm]
20 …$f = $a + 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm]
29 …$e = $a + (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r…
30 …$f = $a + (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r…
40 …$f = $a - 2147483649; // 0x8000,0001 cannot encoded as imm field of lea r1, [r2 + imm]
41 …$g = $a - 78187493394; // 0x12,1234,5678 cannot encoded as imm field of lea r1, [r2 + imm]
50 …$e = $a - (-2147483648); // 0xFFFF,FFFF,8000,0000 cannot encoded as imm field of lea r1, [r…
51 …$f = $a - (-2147483649); // 0xFFFF,FFFF,7FFF,FFFF cannot encoded as imm field of lea r1, [r…
52 …$g = $a - (-261458978401740); // 0xFFFF,1234,5678,1234 cannot encoded as imm field of lea r1, [r…
H A Dcmp_005.phpt22 $g = 0xff001; // Cannot be encoded into imm12 field
23 $h = 0x1000000; // Cannot be encoded into imm12 field
24 $i = 0xf12345678; // Cannot be encoded into imm12 field
/PHP-8.1/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_encode_exceptions.phpt23 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
56 string(56) "Malformed UTF-8 characters, possibly incorrectly encoded"
/PHP-8.1/ext/mbstring/tests/
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 Dutf7imap_encoding.phpt44 /* Identification of '&' when Base-64 encoded */
46 echo "& can be Base64-encoded... yes!\n";
66 /* Conversion of Base64-encoded ASCII characters (excluding &)
75 /* Conversion of & encoded as &- */
155 $encoded = mBase64($testString);
156 if (strlen($encoded) != 6)
160 identifyInvalidString("&" . substr($encoded, 0, strlen($encoded) - 1) . ",-", 'UTF7-IMAP');
164 /* OK, let's try valid Base64-encoded text now */
193 /* Multiple sections of valid ASCII _and_ Base64-encoded text */
220 & can be Base64-encoded... yes!
[all …]
/PHP-8.1/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-8.1/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));
H A Dsession_decode_variation3.phpt22 $encoded = "foo|i:1234567890;";
23 var_dump(session_decode($encoded));
/PHP-8.1/ext/standard/
H A Durl_scanner_ex.re589 zend_string *encoded;
595 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
603 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
734 zend_string *encoded;
758 smart_str_appendl(&sname, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
760 smart_str_appendl(&svalue, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
762 smart_str_appendl(&hname, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
764 smart_str_appendl(&hvalue, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); zend_string_free(encoded);
843 zend_string *encoded;
861 smart_str_appendl(&sname, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
[all …]
/PHP-8.1/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…
/PHP-8.1/ext/simplexml/tests/
H A Dbug79971_1.phpt21 Warning: simplexml_load_file(): URI must not contain percent-encoded NUL bytes in %s on line %d
26 Warning: SimpleXMLElement::asXML(): URI must not contain percent-encoded NUL bytes in %s on line %d
/PHP-8.1/ext/intl/tests/
H A Dnormalizer_get_raw_decomposition.phpt62 error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ER…
65 error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ER…
/PHP-8.1/ext/pcre/tests/
H A Derrors02.phpt7 var_dump(preg_last_error_msg() === 'Malformed UTF-8 characters, possibly incorrectly encoded');

Completed in 29 milliseconds

1234