/PHP-8.0/ext/filter/ |
H A D | sanitizing_filters.c | 172 unsigned char enc[256] = {0}; in php_filter_string() local 182 enc['\''] = enc['"'] = 1; in php_filter_string() 185 enc['&'] = 1; in php_filter_string() 188 memset(enc, 1, 32); in php_filter_string() 191 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string() 230 enc['\''] = enc['"'] = enc['<'] = enc['>'] = enc['&'] = enc[0] = 1; in php_filter_special_chars() 233 memset(enc, 1, 32); in php_filter_special_chars() 236 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars() 272 enc['&'] = 1; in php_filter_unsafe_raw() 275 memset(enc, 1, 32); in php_filter_unsafe_raw() [all …]
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_http_output.phpt | 14 $enc = mb_http_output(); 15 print "$enc\n"; 20 $enc = mb_http_output(); 21 print "$enc\n"; 26 $enc = mb_http_output(); 27 print "$enc\n"; 32 $enc = mb_http_output(); 33 print "$enc\n"; 38 $enc = mb_http_output(); 39 print "$enc\n"; [all …]
|
H A D | mb_internal_encoding.phpt | 14 $enc = mb_internal_encoding(); 15 print "$enc\n"; 20 $enc = mb_internal_encoding(); 21 print "$enc\n"; 26 $enc = mb_internal_encoding(); 27 print "$enc\n"; 40 $enc = mb_internal_encoding(); 41 print "$enc\n";
|
H A D | mb_ereg.phpt | 22 function do_tests( $enc ) { 23 test_ereg( $enc, 'abc ([a-z]+) ([a-z]+) ([a-z]+)$', "abc def ghi jkl" ); 25 test_ereg( $enc, $pat, '���� ������ ������ ����' ); 26 test_ereg( $enc, $pat, '�������� ������ ���� ���' ); 29 foreach( $encs as $enc ) { 30 do_tests( $enc );
|
H A D | mb_str_split_jp.phpt | 29 $enc = mb_convert_encoding($string, $cs, "UTF-8"); 30 $split = mb_str_split($enc, 1, $cs); 35 $cnt = count(mb_str_split($enc,$i,$cs)); 52 $enc = mb_convert_encoding($long, "ISO-2022-JP", "UTF-8"); 53 $array = mb_str_split($enc, $len, "ISO-2022-JP"); 60 $enc = mb_convert_encoding($string, "ISO-2022-JP", "UTF-8"); 61 if(end($array) !== $enc){ 63 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
|
H A D | mb_str_split_ru.phpt | 28 $enc = mb_convert_encoding($string, $cs, "UTF-8"); 29 $split = mb_str_split($enc, 1, $cs); 35 $cnt = count(mb_str_split($enc,$i,$cs)); 52 $enc = mb_convert_encoding($long, "EUC-JP", "UTF-8"); 53 $array = mb_str_split($enc, $len, "EUC-JP"); 60 $enc = mb_convert_encoding($string, "EUC-JP", "UTF-8"); 61 if(end($array) !== $enc){ 63 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
|
H A D | mb_ereg_search_xxx.phpt | 27 function do_tests( $enc, $opt ) { 28 test_search( $enc, "�ϡ� ����\n", ' (��?�ϡ�?)[[:space:]]', $opt ); 29 test_search( $enc, 'abcde abdeabcf anvfabc odu abcd ', '(ab[a-z]+)', $opt ); 32 foreach( $encs as $enc ) { 33 do_tests( $enc, '' ); 34 do_tests( $enc, 'x' );
|
H A D | bug30549.phpt | 11 function test($enc, $map) { 12 print "$enc\n"; 15 $ustr = mb_convert_encoding(pack('C', $fromc), 'UCS-4BE', $enc);
|
H A D | bug77454.phpt | 8 function test($str, $enc) { 9 echo str_replace("\0", '\0', mb_scrub($str, $enc)), "\n";
|
/PHP-8.0/ext/mbstring/ |
H A D | php_unicode.c | 144 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x69)) { in php_unicode_toupper_raw() 190 return php_unicode_toupper_raw(code, enc); in php_unicode_totitle_raw() 198 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x49)) { in php_unicode_tofold_raw() 217 code = php_unicode_tolower_raw(code, enc); in php_unicode_tolower_simple() 224 code = php_unicode_toupper_raw(code, enc); in php_unicode_toupper_simple() 231 code = php_unicode_totitle_raw(code, enc); in php_unicode_totitle_simple() 238 code = php_unicode_tofold_raw(code, enc); in php_unicode_tofold_simple() 247 code = php_unicode_tolower_raw(code, enc); in php_unicode_tolower_full() 261 code = php_unicode_toupper_raw(code, enc); in php_unicode_toupper_full() 275 code = php_unicode_totitle_raw(code, enc); in php_unicode_totitle_full() [all …]
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | uuencode.phpt | 6 var_dump($enc = convert_uuencode("")); 7 var_dump(convert_uudecode($enc)); 8 var_dump($enc = convert_uuencode("~!@#$%^&*()_}{POIUYTREWQQSDFGHJKL:<MNBVCXZ")); 10 var_dump(convert_uudecode($enc)); 11 var_dump($enc = convert_uuencode("not very sophisticated")); 12 var_dump(convert_uudecode($enc)); 14 var_dump(convert_uudecode(substr($enc, 0, -10)));
|
/PHP-8.0/ext/soap/tests/bugs/ |
H A D | bug41566.phpt | 50 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 65 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/enco…
|
/PHP-8.0/ext/soap/tests/soap12/ |
H A D | T47.phpt | 17 <inputFloatArray enc:itemType="xsd:float" enc:arraySize="2" 18 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 30 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T48.phpt | 15 <inputStringArray enc:itemType="xsd:string" enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T50.phpt | 15 <inputIntegerArray enc:itemType="xsd:int" enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T49.phpt | 15 <inputStringArray enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T59.phpt | 15 <inputStringArray enc:itemType="xsd:string" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 17 <item enc:id="data" xsi:type="xsd:string" enc:ref="#data">hello</item>
|
H A D | T42.phpt | 17 <inputStructArray enc:itemType="ns1:SOAPStruct" 18 enc:arraySize="2" 20 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 40 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:x…
|
H A D | T46.phpt | 20 <varArray enc:itemType="xsd:string" enc:arraySize="3" 21 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 35 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:ns2="http://example.org/ts-tests/xsd"><env:Bod…
|
H A D | T60.phpt | 14 xmlns:enc="http://www.w3.org/2003/05/soap-encoding" 16 <inputStringArray enc:itemType="xsd:string" enc:arraySize="*"> 28 …001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/…
|
H A D | T27.phpt | 13 xmlns:enc="http://www.w3.org/2003/05/soap-encoding" 15 <test:array enc:itemType="xs:string" enc:arraySize="1">
|
/PHP-8.0/win32/ |
H A D | codepage.c | 277 char *enc = NULL; in php_win32_cp_get_enc() local 281 enc = PG(internal_encoding); in php_win32_cp_get_enc() 283 enc = SG(default_charset); in php_win32_cp_get_enc() 291 return enc; in php_win32_cp_get_enc() 334 if (!enc || !enc[0]) { in php_win32_cp_get_by_enc() 338 enc_len = strlen(enc); in php_win32_cp_get_by_enc() 351 if (cp->enc) { in php_win32_cp_get_by_enc() 352 char *start = cp->enc, *idx; in php_win32_cp_get_by_enc() 465 if (!enc) { in php_win32_cp_do_setup() 466 enc = php_win32_cp_get_enc(); in php_win32_cp_do_setup() [all …]
|
H A D | cp_enc_map_gen.c | 8 char *enc; member 229 if (!cur->enc[0]) { in main() 239 …,\n", info.CodePage, to_w_fl, from_w_fl, info.MaxCharSize, cur->name, cur->enc, info.CodePageName); in main()
|
/PHP-8.0/ext/soap/ |
H A D | php_encoding.c | 275 return enc; in find_encoder_by_type_name() 576 if (enc != NULL && enc != encode) { in master_to_zval() 1401 while (enc && enc->details.sdl_type && in to_zval_object_ex() 1405 enc = enc->details.sdl_type->encode; in to_zval_object_ex() 1407 if (enc) { in to_zval_object_ex() 1806 while (enc && enc->details.sdl_type && in to_xml_object() 1810 enc = enc->details.sdl_type->encode; in to_xml_object() 1812 if (enc) { in to_xml_object() 1978 if (!enc) { in guess_array_map() 2768 if (enc && type == &enc->details) { in guess_zval_convert() [all …]
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | 07optional.phpt | 12 $enc = pg_client_encoding($db); 14 pg_set_client_encoding($db, $enc);
|