Annotation of embedaddon/php/ext/intl/tests/transliterator_property_id.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Transliterator - "id" property
3: --SKIPIF--
4: <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5: --FILE--
6: <?php
7: $tr = Transliterator::create("Katakana-Latin");
8: echo $tr->id, "\n";
9: $revtr = $tr->createInverse();
10: echo $revtr->id, "\n";
11: var_dump($revtr);
12:
13: echo "Done.\n";
14: --EXPECTF--
15: Katakana-Latin
16: Latin-Katakana
17: object(Transliterator)#%d (%d) {
18: ["id"]=>
19: string(%d) "Latin-Katakana"
20: }
21: Done.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>