mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
17 lines
356 B
PHP
17 lines
356 B
PHP
--TEST--
|
|
ReflectionClass::getExtension() method - basic test for getExtension() method
|
|
--EXTENSIONS--
|
|
dom
|
|
--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"
|
|
}
|