summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt
blob: 35372c4f841488735a1c9f73e04360cb1ae191ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--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)