Home
last modified time | relevance | path

Searched refs:encoding (Results 26 – 50 of 966) sorted by relevance

12345678910>>...39

/PHP-7.4/Zend/tests/
H A Ddeclare_003.phpt9 declare(encoding = 1);
10 declare(encoding = 11111111111111);
11 declare(encoding = M_PI);
17 Warning: Unsupported encoding [1] in %sdeclare_003.php on line %d
19 Warning: Unsupported encoding [11111111111111] in %sdeclare_003.php on line %d
/PHP-7.4/ext/soap/tests/
H A Dsetheaders.phpt27 <?xml version="1.0" encoding="UTF-8"?>
28 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
29 <?xml version="1.0" encoding="UTF-8"?>
30 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
31 <?xml version="1.0" encoding="UTF-8"?>
32 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
33 <?xml version="1.0" encoding="UTF-8"?>
34 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
35 <?xml version="1.0" encoding="UTF-8"?>
36 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dmb_internal_encoding_basic.phpt10 /* Prototype : string mb_internal_encoding([string $encoding])
11 * Description: Sets the current internal encoding or Returns
12 * the current internal encoding as a string
22 var_dump(mb_internal_encoding()); //default internal encoding
24 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8
26 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8
H A Dmb_regex_encoding_variation2.phpt10 /* Prototype : string mb_regex_encoding([string $encoding])
11 * Description: Returns the current encoding for regex as a string.
18 * This test is purely to see whether the function recognises the encoding.
23 $encoding = array('UCS-4', /*1*/
81 foreach($encoding as $enc) {
113 Warning: mb_regex_encoding(): Unknown encoding "UCS-2" in %s on line %d
164 Warning: mb_regex_encoding(): Unknown encoding "UTF-7" in %s on line %d
215 Warning: mb_regex_encoding(): Unknown encoding "JIS" in %s on line %d
329 Warning: mb_regex_encoding(): Unknown encoding "7bit" in %s on line %d
355 Warning: mb_regex_encoding(): Unknown encoding "HZ" in %s on line %d
[all …]
H A Dmb_regex_encoding_error2.phpt2 Test mb_regex_encoding() function : error conditions - Pass an unknown encoding
10 /* Prototype : string mb_regex_encoding([string $encoding])
11 * Description: Returns the current encoding for regex as a string.
16 * Pass mb_regex_encoding an unknown type of encoding
29 Warning: mb_regex_encoding(): Unknown encoding "unknown" in %s on line %d
H A Dmb_internal_encoding_basic2.phpt15 /* Prototype : string mb_internal_encoding([string $encoding])
16 * Description: Sets the current internal encoding or Returns
17 * the current internal encoding as a string
35 var_dump(mb_internal_encoding()); //default internal encoding
36 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8
37 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8
H A Dmb_ord.phpt31 Warning: mb_ord(): Unknown encoding "typo" %s 10
33 Warning: mb_ord(): Unsupported encoding "pass" %s 11
35 Warning: mb_ord(): Unsupported encoding "JIS" in %s on line %d
37 Warning: mb_ord(): Unsupported encoding "CP50222" in %s on line %d
39 Warning: mb_ord(): Unsupported encoding "UTF-7" in %s on line %d
49 Warning: mb_ord(): Unsupported encoding "UTF-7" in %s on line %d
H A Dmb_chr.phpt29 Warning: mb_chr(): Unknown encoding "typo" in %s on line %d
31 Warning: mb_chr(): Unsupported encoding "pass" in %s on line %d
33 Warning: mb_chr(): Unsupported encoding "JIS" in %s on line %d
35 Warning: mb_chr(): Unsupported encoding "CP50222" in %s on line %d
37 Warning: mb_chr(): Unsupported encoding "UTF-7" in %s on line %d
/PHP-7.4/ext/iconv/tests/
H A Diconv_strlen_error2.phpt2 Test iconv_strlen() function : error conditions - pass an unknown encoding
16 * Test iconv_strlen when passed an unknown encoding
23 $encoding = 'unknown-encoding';
25 var_dump(iconv_strlen($string, $encoding));
32 Notice: iconv_strlen(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allow…
H A Diconv_strpos_error2.phpt2 Test iconv_strpos() function : error conditions - Pass unknown encoding
16 * Pass an unknown encoding to iconv_strpos() to test behaviour
23 $encoding = 'unknown-encoding';
25 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) );
32 Notice: iconv_strpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allow…
H A Diconv_strrpos_error2.phpt2 Test iconv_strrpos() function : error conditions - pass an unknown encoding
16 * Pass iconv_strrpos() an encoding that doesn't exist
24 $encoding = 'unknown-encoding';
26 var_dump(iconv_strrpos($haystack, $needle , $encoding));
33 Notice: iconv_strrpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allo…
H A Diconv_substr_error2.phpt2 Test iconv_substr() function : error conditions - Pass an unknown encoding
16 * Pass an unknown encoding to iconv_substr() to test behaviour
24 $encoding = 'unknown-encoding';
26 var_dump( iconv_substr($str, $start, $length, $encoding));
33 Notice: iconv_substr(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allow…
/PHP-7.4/ext/xmlrpc/tests/
H A Dbug40576_64bit.phpt2 Bug #40576 (double values are truncated to 6 decimal digits when encoding)
23 string(125) "<?xml version="1.0" encoding="utf-8"?>
32 string(119) "<?xml version="1.0" encoding="utf-8"?>
41 string(116) "<?xml version="1.0" encoding="utf-8"?>
50 string(106) "<?xml version="1.0" encoding="utf-8"?>
59 string(118) "<?xml version="1.0" encoding="utf-8"?>
68 string(139) "<?xml version="1.0" encoding="utf-8"?>
H A Dbug40576.phpt2 Bug #40576 (double values are truncated to 6 decimal digits when encoding)
23 string(125) "<?xml version="1.0" encoding="utf-8"?>
32 string(130) "<?xml version="1.0" encoding="utf-8"?>
41 string(116) "<?xml version="1.0" encoding="utf-8"?>
50 string(106) "<?xml version="1.0" encoding="utf-8"?>
59 string(118) "<?xml version="1.0" encoding="utf-8"?>
68 string(139) "<?xml version="1.0" encoding="utf-8"?>
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.c49 string->encoding = &mbfl_encoding_pass; in mbfl_string_init()
56 …l_string_init_set(mbfl_string *string, mbfl_language_id no_language, const mbfl_encoding *encoding) in mbfl_string_init_set() argument
60 string->encoding = encoding; in mbfl_string_init_set()
/PHP-7.4/Zend/
H A Dzend_multibyte.c31 static const char *dummy_encoding_name_getter(const zend_encoding *encoding) in dummy_encoding_name_getter() argument
33 return (const char*)encoding; in dummy_encoding_name_getter()
36 static int dummy_encoding_lexer_compatibility_checker(const zend_encoding *encoding) in dummy_encoding_lexer_compatibility_checker() argument
63 static int dummy_internal_encoding_setter(const zend_encoding *encoding) in dummy_internal_encoding_setter() argument
138 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding) in zend_multibyte_get_encoding_name() argument
140 return multibyte_functions.encoding_name_getter(encoding); in zend_multibyte_get_encoding_name()
143 ZEND_API int zend_multibyte_check_lexer_compatibility(const zend_encoding *encoding) in zend_multibyte_check_lexer_compatibility() argument
145 return multibyte_functions.lexer_compatibility_checker(encoding); in zend_multibyte_check_lexer_compatibility()
183 ZEND_API int zend_multibyte_set_internal_encoding(const zend_encoding *encoding) in zend_multibyte_set_internal_encoding() argument
185 return multibyte_functions.internal_encoding_setter(encoding); in zend_multibyte_set_internal_encoding()
H A Dzend_multibyte.h28 typedef const char* (*zend_encoding_name_getter)(const zend_encoding *encoding);
29 typedef int (*zend_encoding_lexer_compatibility_checker)(const zend_encoding *encoding);
34 typedef int (*zend_encoding_internal_encoding_setter)(const zend_encoding *encoding);
65 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding);
66 ZEND_API int zend_multibyte_check_lexer_compatibility(const zend_encoding *encoding);
74 ZEND_API int zend_multibyte_set_internal_encoding(const zend_encoding *encoding);
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug36908.phpt17 '<?xml version="1.0" encoding="UTF-8"?>
23 …xmlns:ns1="urn:PublisherService" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
26 <multiRef xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
28 soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
33 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" id="id5"
35 soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
45 <?xml version="1.0" encoding="UTF-8"?>
46 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
H A Dbug47273.phpt8 <?xml version="1.0" encoding="UTF-8"?>
9 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
12 <?xml version="1.0" encoding="UTF-8"?>
13 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
31 'encoding' => 'ISO-8859-1'));
46 <?xml version="1.0" encoding="UTF-8"?>
47 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
48 <?xml version="1.0" encoding="UTF-8"?>
/PHP-7.4/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_soapfault_002w.phpt17 <?xml version="1.0" encoding="UTF-8"?>
18 …w.w3.org/2003/05/soap-encoding"><env:Body><ns1:echoVersionMismatchFault env:encodingStyle="http://…
19 <?xml version="1.0" encoding="UTF-8"?>
20 ….org/2003/05/soap-encoding"><env:Body><ns1:echoVersionMismatchFaultResponse env:encodingStyle="htt…
H A Dr4_groupH_soapfault_001w.phpt17 <?xml version="1.0" encoding="UTF-8"?>
18 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
19 <?xml version="1.0" encoding="UTF-8"?>
20 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
H A Dr4_groupH_soapfault_003w.phpt10 <?xml version="1.0" encoding="UTF-8"?>
11 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
18 <?xml version="1.0" encoding="UTF-8"?>
19 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
20 <?xml version="1.0" encoding="UTF-8"?>
/PHP-7.4/ext/mbstring/
H A Dmbstring.c687 if (!encoding) { in php_mb_get_encoding()
697 return encoding; in php_mb_get_encoding()
1312 if (!encoding) { in _php_mb_ini_mbstring_http_output_set()
2371 string.encoding = php_mb_get_encoding(encoding); in PHP_FUNCTION()
2946 string.encoding = php_mb_get_encoding(encoding); in PHP_FUNCTION()
3014 string.encoding = php_mb_get_encoding(encoding); in PHP_FUNCTION()
3100 string.encoding = marker.encoding = php_mb_get_encoding(encoding); in PHP_FUNCTION()
4093 string.encoding = mbfl_name2encoding(encoding); in php_mb_numericentity_exec()
4809 convd = mbfl_buffer_converter_new(encoding, encoding, 0); in php_mb_init_convd()
4855 if (!encoding || encoding == &mbfl_encoding_pass) { in php_mb_check_encoding()
[all …]
/PHP-7.4/ext/soap/tests/interop/Round3/GroupD/
H A Dr3_groupD_rpcenc_004w.phpt17 <?xml version="1.0" encoding="UTF-8"?>
18 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
19 <?xml version="1.0" encoding="UTF-8"?>
20 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
/PHP-7.4/ext/soap/tests/interop/Round2/Base/
H A Dr2_base_016w.phpt17 <?xml version="1.0" encoding="UTF-8"?>
18 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
19 <?xml version="1.0" encoding="UTF-8"?>
20 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…

Completed in 72 milliseconds

12345678910>>...39