summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_getExtensionName_basic.phpt
blob: 310b22e69581feb5031eb7e933f11ec066f7d0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
ReflectionClass::getExtensionName() method - basic test for getExtensionName() 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->getExtensionName()) ;
?>
--EXPECT--
string(3) "dom"