xref: /PHP-8.2/ext/intl/tests/uconverter_enum.phpt (revision 74859783)
1--TEST--
2UConverter Enumerations
3--EXTENSIONS--
4intl
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?>
16--EXPECT--
17bool(true)
18bool(true)
19bool(true)
20bool(true)
21bool(true)
22