Home
last modified time | relevance | path

Searched refs:encoding (Results 51 – 75 of 906) sorted by relevance

12345678910>>...37

/PHP-5.5/ext/iconv/tests/
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-5.5/ext/mbstring/
H A DREADME_PHP3-i18n-ja271 16bit+ encoding
510 string = i18n_convert(string, encoding, pre-conversion-encoding)
516 encoding
536 encoding
552 encoding
567 encoding
580 encoding
594 encoding
611 encoding
662 encoding
[all …]
/PHP-5.5/ext/mbstring/tests/
H A Dmb_convert_encoding_variation1.phpt11 * Description: Returns converted string in desired encoding
111 Warning: mb_convert_encoding(): Unknown encoding "0" in %s on line %d
116 Warning: mb_convert_encoding(): Unknown encoding "1" in %s on line %d
121 Warning: mb_convert_encoding(): Unknown encoding "12345" in %s on line %d
126 Warning: mb_convert_encoding(): Unknown encoding "-2345" in %s on line %d
131 Warning: mb_convert_encoding(): Unknown encoding "10.5" in %s on line %d
136 Warning: mb_convert_encoding(): Unknown encoding "-10.5" in %s on line %d
141 Warning: mb_convert_encoding(): Unknown encoding "123456789000" in %s on line %d
151 Warning: mb_convert_encoding(): Unknown encoding "0.5" in %s on line %d
162 Warning: mb_convert_encoding(): Unknown encoding "1" 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_error1.phpt10 /* Prototype : string mb_internal_encoding([string $encoding])
11 * Description: Sets the current internal encoding or
12 * Returns the current internal encoding as a string
23 $encoding = 'string_val';
25 var_dump( mb_internal_encoding($encoding, $extra_arg) );
/PHP-5.5/ext/xml/tests/
H A Dxml_parser_create_ns_variation1.phpt11 /* Prototype : proto resource xml_parser_create_ns([string encoding [, string sep]])
91 // loop through each element of the array for encoding
110 Warning: xml_parser_create_ns(): unsupported source encoding "0" in %s on line %d
115 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d
120 Warning: xml_parser_create_ns(): unsupported source encoding "12345" in %s on line %d
125 Warning: xml_parser_create_ns(): unsupported source encoding "-2345" in %s on line %d
130 Warning: xml_parser_create_ns(): unsupported source encoding "10.5" in %s on line %d
135 Warning: xml_parser_create_ns(): unsupported source encoding "-10.5" in %s on line %d
150 Warning: xml_parser_create_ns(): unsupported source encoding "0.5" in %s on line %d
186 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d
[all …]
H A Dxml_parser_create_variation1.phpt11 /* Prototype : proto resource xml_parser_create([string encoding])
91 // loop through each element of the array for encoding
110 Warning: xml_parser_create(): unsupported source encoding "0" in %s on line %d
115 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d
120 Warning: xml_parser_create(): unsupported source encoding "12345" in %s on line %d
125 Warning: xml_parser_create(): unsupported source encoding "-2345" in %s on line %d
130 Warning: xml_parser_create(): unsupported source encoding "10.5" in %s on line %d
135 Warning: xml_parser_create(): unsupported source encoding "-10.5" in %s on line %d
150 Warning: xml_parser_create(): unsupported source encoding "0.5" in %s on line %d
186 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d
[all …]
H A Dbug32001b.phpt7 foreach(array('EUC-JP', 'Shift_JISP', 'GB2312') as $encoding) {
8 …if (@xml_parser_create($encoding) === false) die("skip libxml2 does not support $encoding encoding
14 private $encoding;
21 $this->encoding = $enc;
40 $canonical_name = preg_replace('/BE|LE/i', '', $this->encoding);
41 $data .= "<?xml version=\"1.0\" encoding=\"$canonical_name\" ?>\n";
54 $data = iconv("UTF-8", $this->encoding, $data);
76 echo "Encoding: $this->encoding\n";
107 // vim600: sts=4 sw=4 ts=4 encoding=UTF-8
/PHP-5.5/ext/soap/tests/bugs/
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"?>
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 Dbug41566.phpt29 <?xml version="1.0" encoding="ISO-8859-1"?>
31 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
46 <?xml version="1.0" encoding="UTF-8"?>
50 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
52 <ns1:test env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
60 <?xml version="1.0" encoding="UTF-8"?>
61encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem…
63 <?xml version="1.0" encoding="UTF-8"?>
64encoding" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/…
/PHP-5.5/Zend/
H A Dzend_multibyte.c33 static const char *dummy_encoding_name_getter(const zend_encoding *encoding) in dummy_encoding_name_getter() argument
35 return (const char*)encoding; in dummy_encoding_name_getter()
38 static int dummy_encoding_lexer_compatibility_checker(const zend_encoding *encoding) in dummy_encoding_lexer_compatibility_checker() argument
65 static int dummy_internal_encoding_setter(const zend_encoding *encoding TSRMLS_DC) in dummy_internal_encoding_setter()
133 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding) in zend_multibyte_get_encoding_name() argument
135 return multibyte_functions.encoding_name_getter(encoding); in zend_multibyte_get_encoding_name()
138 ZEND_API int zend_multibyte_check_lexer_compatibility(const zend_encoding *encoding) in zend_multibyte_check_lexer_compatibility() argument
140 return multibyte_functions.lexer_compatibility_checker(encoding); in zend_multibyte_check_lexer_compatibility()
178 ZEND_API int zend_multibyte_set_internal_encoding(const zend_encoding *encoding TSRMLS_DC) in zend_multibyte_set_internal_encoding()
180 return multibyte_functions.internal_encoding_setter(encoding TSRMLS_CC); in zend_multibyte_set_internal_encoding()
H A Dzend_multibyte.h30 typedef const char* (*zend_encoding_name_getter)(const zend_encoding *encoding);
31 typedef int (*zend_encoding_lexer_compatibility_checker)(const zend_encoding *encoding);
36 typedef int (*zend_encoding_internal_encoding_setter)(const zend_encoding *encoding TSRMLS_DC);
66 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding);
67 ZEND_API int zend_multibyte_check_lexer_compatibility(const zend_encoding *encoding);
75 ZEND_API int zend_multibyte_set_internal_encoding(const zend_encoding *encoding TSRMLS_DC);
/PHP-5.5/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-5.5/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…
H A Dr2_base_016p.phpt15 <?xml version="1.0" encoding="UTF-8"?>
16 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
17 <?xml version="1.0" encoding="UTF-8"?>
18 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
H A Dr2_base_016s.phpt15 <?xml version="1.0" encoding="UTF-8"?>
16 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
17 <?xml version="1.0" encoding="UTF-8"?>
18 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
H A Dr2_base_003w.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 Dr2_base_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…
20 <?xml version="1.0" encoding="UTF-8"?>
21 …P-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.o…
H A Dr2_base_019w.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-5.5/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-5.5/ext/zlib/tests/
H A Dgzcompress_error1.phpt11 /* Prototype : string gzcompress(string data [, int level, [int encoding]])
31 $encoding = ZLIB_ENCODING_RAW;
33 var_dump( gzcompress($data, $level, $encoding, $extra_arg) );
39 echo "\n-- Testing with invalid encoding --\n";
41 $encoding = 99;
42 var_dump(gzcompress($data, $level, $encoding));
75 -- Testing with invalid encoding --
77 Warning: gzcompress(): encoding mode must be either ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP or ZLIB_E…

Completed in 45 milliseconds

12345678910>>...37