diff options
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/tests/uconverter_getDestinationEncoding.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/intl/tests/uconverter_getDestinationEncoding.phpt b/ext/intl/tests/uconverter_getDestinationEncoding.phpt new file mode 100644 index 0000000000..0bfe25d2e3 --- /dev/null +++ b/ext/intl/tests/uconverter_getDestinationEncoding.phpt @@ -0,0 +1,14 @@ +--TEST-- +UConverter::getDestinationEncoding() +--CREDITS-- +Andy McNeice - PHP Testfest 2017 +--INI-- +intl.error_level = E_WARNING +--SKIPIF-- +<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +--FILE-- +<?php +$c = new UConverter('UTF-7', 'ascii'); +var_dump($c->getDestinationEncoding()); +--EXPECT-- +string(5) "UTF-7" |