1--TEST--
2Transliterator clone handler
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8$str = "a U+4E07";
9
10$t = Transliterator::create("hex-any");
11echo $t->id, ": ", $t->transliterate($str), "\n";
12
13$u = clone $t;
14echo $u->id, ": ", $u->transliterate($str), "\n";
15
16echo "Done.\n";
17
18--EXPECT--
19hex-any: a 万
20hex-any: a 万
21Done.
22