Annotation of embedaddon/php/ext/reflection/tests/ReflectionClass_getExtension_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: ReflectionClass::getExtension() method - basic test for getExtension() method
3: --SKIPIF--
4: <?php extension_loaded('dom') or die('skip - dom extension not loaded'); ?>
5: --CREDITS--
6: Rein Velt <rein@velt.org>
7: #testFest Roosendaal 2008-05-10
8: --FILE--
9: <?php
10: $rc=new reflectionClass('domDocument');
11: var_dump($rc->getExtension()) ;
12: ?>
13: --EXPECTF--
14: object(ReflectionExtension)#%d (1) {
15: ["name"]=>
16: string(3) "dom"
17: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>