/PHP-8.2/ext/intl/tests/ |
H A D | uconverter_oop_algo.phpt | 2 UConverter Algorithmic converters 7 $c = new UConverter('utf-8', 'latin1'); 8 var_dump(UConverter::LATIN_1 === $c->getSourceType()); 9 var_dump(UConverter::UTF8 === $c->getDestinationType()); 11 $c = new UConverter('koi8-r', 'utf-32be'); 12 var_dump(UConverter::UTF32_BigEndian === $c->getSourceType()); 13 var_dump(UConverter::SBCS === $c->getDestinationType());
|
H A D | uconverter_func_basic.phpt | 2 Basic UConverter::transcode() usage 7 var_dump(UConverter::transcode("This is an ascii string", 'utf-8', 'latin1')); 9 var_dump(urlencode(UConverter::transcode("Espa\xF1ol", 'utf-8', 'latin1'))); 10 var_dump(urlencode(UConverter::transcode("Stra\xDFa", 'utf-8', 'latin1'))); 12 var_dump(bin2hex(UConverter::transcode("\xE4", 'utf-8', 'koi8-r')));
|
H A D | uconverter___construct_error.phpt | 2 Basic UConverter::convert() usage 9 $c = new UConverter('utf-8', "\x80"); 13 Warning: UConverter::__construct(): ucnv_open() returned error 4: U_FILE_ACCESS_ERROR in %s on line… 14 object(UConverter)#%d (0) {
|
H A D | bug75317.phpt | 2 Bug #75317 (UConverter::setDestinationEncoding changes source instead of destinatination) 7 $utf8 = UConverter::getAliases('utf-8')[0]; 8 $utf16 = UConverter::getAliases('utf-16')[0]; 9 $utf32 = UConverter::getAliases('utf-32')[0]; 10 $latin1 = UConverter::getAliases('latin1')[0]; 17 $c = new UConverter(); 22 $c = new UConverter('utf-16', 'latin1');
|
H A D | uconverter_enum.phpt | 2 UConverter Enumerations 7 $avail = UConverter::getAvailable(); 13 $latin1 = UConverter::getAliases('latin1');
|
H A D | uconverter_bug66873.phpt | 2 Bug #66873 - crash in UConverter with invalid encoding 7 $o = new UConverter(1, 1);
|
H A D | bug75318.phpt | 2 Bug #75318 (The parameter of UConverter::getAliases() is not optional) 7 $rm = new ReflectionMethod('UConverter', 'getAliases');
|
H A D | uconverter_getDestinationEncoding.phpt | 2 UConverter::getDestinationEncoding() 11 $c = new UConverter('UTF-7', 'ascii');
|
H A D | uconverter_getSourceEncoding.phpt | 2 UConverter::getSourceEncoding() 11 $c = new UConverter('utf-32', 'ascii');
|
H A D | uconverter_oop_callback.phpt | 2 UConverter::convert() w/ Callback Reasons 9 class MyConverter extends UConverter { 14 echo "toUCallback(", UConverter::reasonText($reason), ", ...)\n"; 22 echo "fromUCallback(", UConverter::reasonText($reason), ", ...)\n";
|
H A D | uconverter_oop_callback2.phpt | 2 UConverter::convert() w/ Callback Reasons 9 class MyConverter extends UConverter { 14 echo "toUCallback(", UConverter::reasonText($reason), ", ...)\n"; 22 echo "fromUCallback(", UConverter::reasonText($reason), ", ...)\n";
|
H A D | uconverter_func_subst.phpt | 2 Basic UConverter::convert() w/ Subsitution 11 $ret = UConverter::transcode("This is an ascii string", 'ascii', 'utf-8', $opts); 17 $ret = UConverter::transcode("Snowman: (\xE2\x98\x83)", 'ascii', 'utf-8', $opts);
|
H A D | uconverter_setSourceEncoding.phpt | 2 UConverter::setSourceEncoding() 11 $c = new UConverter('latin1', 'ascii');
|
H A D | uconverter_oop_basic.phpt | 2 Basic UConverter::convert() usage 7 $c = new UConverter('utf-8', 'latin1'); 14 $k = new UConverter('utf-8', 'koi8-r');
|
H A D | uconverter_oop_subst.phpt | 2 Basic UConverter::convert() w/ Subsitution 9 $c = new UConverter('ascii', 'utf-8');
|
H A D | uconverter_getstandards_basic.phpt | 2 Basic UConverter::getStandards() usage 10 $standards = UConverter::getStandards();
|
H A D | uconverter_oop_callback_return.phpt | 2 UConverter::convert() w/ Callback Return Values 7 class MyConverter extends UConverter {
|
/PHP-8.2/ext/intl/converter/ |
H A D | converter_arginfo.h | 78 ZEND_METHOD(UConverter, __construct); 79 ZEND_METHOD(UConverter, convert); 80 ZEND_METHOD(UConverter, fromUCallback); 81 ZEND_METHOD(UConverter, getAliases); 82 ZEND_METHOD(UConverter, getAvailable); 85 ZEND_METHOD(UConverter, getErrorCode); 88 ZEND_METHOD(UConverter, getSourceType); 89 ZEND_METHOD(UConverter, getStandards); 91 ZEND_METHOD(UConverter, reasonText); 95 ZEND_METHOD(UConverter, toUCallback); [all …]
|
H A D | converter.c | 29 UConverter *src, *dest; 107 PHP_METHOD(UConverter, toUCallback) { in PHP_METHOD() argument 122 PHP_METHOD(UConverter, fromUCallback) { in PHP_METHOD() argument 530 PHP_METHOD(UConverter, __construct) { in PHP_METHOD() argument 679 PHP_METHOD(UConverter, reasonText) { in PHP_METHOD() argument 702 PHP_METHOD(UConverter, convert) { in PHP_METHOD() argument 728 PHP_METHOD(UConverter, transcode) { in PHP_METHOD() argument 785 PHP_METHOD(UConverter, getErrorCode) { in PHP_METHOD() argument 814 PHP_METHOD(UConverter, getAvailable) { in PHP_METHOD() argument 832 PHP_METHOD(UConverter, getAliases) { in PHP_METHOD() argument [all …]
|
H A D | converter.stub.php | 6 class UConverter class
|
/PHP-8.2/ |
H A D | UPGRADING | 311 UConverter, IntlDateFormatter, IntlDatePatternGenerator, MessageFormatter,
|