xref: /PHP-7.1/ext/intl/tests/uconverter_enum.phpt (revision 113213f0)
1--TEST--
2UConverter Enumerations
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7$avail = UConverter::getAvailable();
8var_dump(count($avail) > 100);
9var_dump(in_array('UTF-7', $avail));
10var_dump(in_array('CESU-8', $avail));
11var_dump(in_array('ISO-8859-1', $avail));
12
13$latin1 = UConverter::getAliases('latin1');
14var_dump(in_array('ISO-8859-1', $latin1));
15--EXPECT--
16bool(true)
17bool(true)
18bool(true)
19bool(true)
20bool(true)
21