php-src/ext/intl/tests/transliterator_create_basic.phpt
Gustavo André dos Santos Lopes e283f7a7fe - Added support for ICU Transformations (Transliterator).
- Changes request #52986 to "to be documented".
2010-10-06 18:53:27 +00:00

21 lines
339 B
PHP

--TEST--
Transliterator::create (basic)
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$t = Transliterator::create("any-latin");
echo $t->id,"\n";
$t = transliterator_create("any-latin");
echo $t->id,"\n";
echo "Done.\n";
--EXPECT--
any-latin
any-latin
Done.