1--TEST--
2UConverter Algorithmic converters
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7$c = new UConverter('utf-8', 'latin1');
8var_dump(UConverter::LATIN_1 === $c->getSourceType());
9var_dump(UConverter::UTF8    === $c->getDestinationType());
10
11$c = new UConverter('koi8-r', 'utf-32be');
12var_dump(UConverter::UTF32_BigEndian === $c->getSourceType());
13var_dump(UConverter::SBCS            === $c->getDestinationType());
14?>
15--EXPECT--
16bool(true)
17bool(true)
18bool(true)
19bool(true)
20