1--TEST-- 2ReflectionClass::getExtension() method - basic test for getExtension() method 3--EXTENSIONS-- 4dom 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->getExtension()) ; 12?> 13--EXPECTF-- 14object(ReflectionExtension)#%d (1) { 15 ["name"]=> 16 string(3) "dom" 17} 18