Home
last modified time | relevance | path

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

/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_isInstance_error.phpt2 ReflectionClass::isInstance() - invalid params
10 var_dump($rc->isInstance());
11 var_dump($rc->isInstance($instance, $instance));
12 var_dump($rc->isInstance(1));
13 var_dump($rc->isInstance(1.5));
14 var_dump($rc->isInstance(true));
15 var_dump($rc->isInstance('X'));
16 var_dump($rc->isInstance(null));
20 Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 0 given in %s on line 7
23 Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 2 given in %s on line 8
[all …]
H A DReflectionObject_isInstance_error.phpt2 ReflectionObject::isInstance() - invalid params
9 var_dump($ro->isInstance());
10 var_dump($ro->isInstance($instance, $instance));
11 var_dump($ro->isInstance(1));
12 var_dump($ro->isInstance(1.5));
13 var_dump($ro->isInstance(true));
14 var_dump($ro->isInstance('X'));
15 var_dump($ro->isInstance(null));
19 Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 0 given in %s on line 6
22 Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 2 given in %s on line 7
[all …]
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.phpt48 'UMLClass::isInstance',
H A DReflectionClass_toString_001.phpt245 Method [ <internal:Reflection> public method isInstance ] {
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c4595 ZEND_METHOD(reflection_class, isInstance) in ZEND_METHOD() argument
6351 ZEND_ME(reflection_class, isInstance, arginfo_reflection_class_isInstance, 0)

Completed in 31 milliseconds