/php-src/ext/iconv/tests/ |
H A D | bug51250.phpt | 2 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 D | iconv_basic.phpt | 19 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 D | add_007.phpt | 21 $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 D | bug81225_2.phpt | 18 …$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 D | cmp_005.phpt | 21 $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 D | mb_decode_mimeheader_variation5.phpt | 2 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 D | mb_convert_encoding_basic.phpt | 20 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 D | mb_convert_encoding_array.phpt | 32 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 D | zend_multibyte-05.phpt | 11 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it 13 // valid EUC-encoded character "鴻".
|
H A D | mb_convert_encoding_array2.phpt | 44 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 D | zend_multibyte-09.phpt | 12 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it 14 // valid EUC-encoded character "鴻".
|
H A D | mb_decode_mimeheader_variation4.phpt | 10 // 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 D | utf7imap_encoding.phpt | 29 /* 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 D | inf_nan_error.phpt | 2 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 D | bug54058.phpt | 32 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 D | bug61537.phpt | 27 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 D | json_validate_004.phpt | 26 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 D | json_encode_exceptions.phpt | 23 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 D | bug80096.phpt | 10 println(htmlentities("The < character is encoded as <", double_encode: false)); 14 The < character is encoded as <
|
/php-src/ext/session/tests/ |
H A D | session_encode_variation7.phpt | 18 $encoded = session_encode(); 19 var_dump(base64_encode($encoded));
|
H A D | session_decode_variation4.phpt | 20 $encoded = "A2Zvb2k6MTIzNDU2Nzg5MDs="; 21 var_dump(session_decode(base64_decode($encoded)));
|
H A D | session_encode_variation8.phpt | 18 $encoded = session_encode(); 19 var_dump(base64_encode($encoded));
|
/php-src/ext/standard/ |
H A D | url_scanner_ex.re | 598 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 D | classmap.wsdl | 39 …<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 D | gh16318.phpt | 35 Recursive array cannot be encoded 36 Recursive array cannot be encoded
|