1--TEST-- 2ReflectionClass::getExtensionName() method - basic test for getExtensionName() method 3--SKIPIF-- 4<?php extension_loaded('dom') or die('skip - dom extension not loaded'); ?> 5--CREDITS-- 6Rein Velt <rein@velt.org> 7#testFest Roosendaal 2008-05-10 8--FILE-- 9<?php 10 $rc=new reflectionClass('domDocument'); 11 var_dump( $rc->getExtensionName()) ; 12?> 13--EXPECT-- 14string(3) "dom" 15