File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
intl /
tests /
transliterator_clone.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:40 2012 UTC (12 years, 10 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
--TEST--
Transliterator clone handler
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$str = "a U+4E07";
$t = Transliterator::create("hex-any");
echo $t->id, ": ", $t->transliterate($str), "\n";
$u = clone $t;
echo $u->id, ": ", $u->transliterate($str), "\n";
echo "Done.\n";
--EXPECT--
hex-any: a 万
hex-any: a 万
Done.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>