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