Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/reflection/tests/
H A Dbug43926.phpt2 Bug #43926 (isInstance() isn't equivalent to instanceof operator)
27 print("Is? A ". ($ra->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? …
28 print("Is? C ". ($rc->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? …
29 print("Is? D ". ($rd->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof D) ? …
30 print("Is? E ". ($re->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof E) ? …
32 print("Is? A ". ($ra->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? …
33 print("Is? C ". ($rc->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? …
34 print("Is? D ". ($rd->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof D) ? …
35 print("Is? E ". ($re->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof E) ? …
37 print("Is? A ". ($ra->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof A) ? …
[all …]
H A DReflectionObject_isInstance_basic.phpt2 ReflectionObject::isInstance() - basic function test
19 var_dump($ro->isInstance($instance));
H A DReflectionClass_isInstance_basic.phpt2 ReflectionClass::isInstance()
25 var_dump($rc->isInstance($instance));
H A D001.phpt47 'UMLClass::isInstance',
H A DReflectionClass_toString_001.phpt304 Method [ <internal:Reflection> public method isInstance ] {
/php-src/ext/reflection/
H A Dphp_reflection.stub.php362 public function isInstance(object $object): bool {} function in ReflectionClass
H A Dphp_reflection_arginfo.h824 ZEND_METHOD(ReflectionClass, isInstance);
1115 ZEND_ME(ReflectionClass, isInstance, arginfo_class_ReflectionClass_isInstance, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4902 ZEND_METHOD(ReflectionClass, isInstance) in ZEND_METHOD() argument

Completed in 61 milliseconds