1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt

20 lines
433 B
PHP

--TEST--
ReflectionClass::getExtensionName() method - variation test for getExtensionName()
--SKIPIF--
<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
--CREDITS--
Rein Velt <rein@velt.org>
#testFest Roosendaal 2008-05-10
--FILE--
<?php
class myClass
{
public $varX;
public $varY;
}
$rc=new reflectionClass('myClass');
var_dump( $rc->getExtensionName()) ;
?>
--EXPECT--
bool(false)