mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
e283f7a7fe
- Changes request #52986 to "to be documented".
21 lines
339 B
PHP
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.
|
|
|