Searched refs:isInstance (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/ext/reflection/tests/ |
H A D | bug43926.phpt | 2 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 D | ReflectionObject_isInstance_basic.phpt | 2 ReflectionObject::isInstance() - basic function test 19 var_dump($ro->isInstance($instance));
|
H A D | ReflectionClass_isInstance_basic.phpt | 2 ReflectionClass::isInstance() 25 var_dump($rc->isInstance($instance));
|
H A D | 001.phpt | 47 'UMLClass::isInstance',
|
H A D | ReflectionClass_toString_001.phpt | 302 Method [ <internal:Reflection> public method isInstance ] {
|
/PHP-8.2/ext/reflection/ |
H A D | php_reflection.stub.php | 389 public function isInstance(object $object): bool {} function in ReflectionClass
|
H A D | php_reflection_arginfo.h | 710 ZEND_METHOD(ReflectionClass, isInstance); 978 ZEND_ME(ReflectionClass, isInstance, arginfo_class_ReflectionClass_isInstance, ZEND_ACC_PUBLIC)
|
H A D | php_reflection.c | 4976 ZEND_METHOD(ReflectionClass, isInstance) in ZEND_METHOD() argument
|
Completed in 32 milliseconds