Your IP : 216.73.216.48


Current Path : /hdd/hdd12/install/php/php-7.4.32/ext/reflection/tests/
Upload File :
Current File : //hdd/hdd12/install/php/php-7.4.32/ext/reflection/tests/ReflectionClass_isInternal_basic.phpt

--TEST--
ReflectionClass::isInternal()
--FILE--
<?php
class C {
}

$r1 = new ReflectionClass("stdClass");
$r2 = new ReflectionClass("ReflectionClass");
$r3 = new ReflectionClass("ReflectionProperty");
$r4 = new ReflectionClass("Exception");
$r5 = new ReflectionClass("C");

var_dump($r1->isInternal(), $r2->isInternal(), $r3->isInternal(),
		 $r4->isInternal(), $r5->isInternal());
?>
--EXPECT--
bool(true)
bool(true)
bool(true)
bool(true)
bool(false)