1--TEST--
2UConverter::getSourceEncoding()
3--CREDITS--
4Andy McNeice - PHP Testfest 2017
5--INI--
6intl.error_level = E_WARNING
7--SKIPIF--
8<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
9--FILE--
10<?php
11$c = new UConverter('utf-32', 'ascii');
12var_dump($c->getSourceEncoding());
13?>
14--EXPECT--
15string(8) "US-ASCII"
16