Home
last modified time | relevance | path

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

/PHP-7.2/ext/reflection/tests/
H A DReflectionClass_hasProperty_002.phpt2 ReflectionClass::hasProperty() - error cases
14 var_dump($rc->hasProperty());
15 var_dump($rc->hasProperty("a", "a"));
16 var_dump($rc->hasProperty(null));
17 var_dump($rc->hasProperty(1));
18 var_dump($rc->hasProperty(1.5));
19 var_dump($rc->hasProperty(true));
20 var_dump($rc->hasProperty(array(1,2,3)));
21 var_dump($rc->hasProperty(new C));
26 Warning: ReflectionClass::hasProperty() expects exactly 1 parameter, 0 given in %s on line 8
[all …]
H A D020.phpt2 ReflectionObject::hasProperty
18 var_dump($obj->hasProperty("p1"));
19 var_dump($obj->hasProperty("p2"));
20 var_dump($obj->hasProperty("p3"));
21 var_dump($obj->hasProperty("p4"));
H A DReflectionClass_hasProperty_basic.phpt2 ReflectionClass::hasProperty()
12 var_dump($rc->hasProperty('publicFoo'));
15 var_dump($rc->hasProperty('protectedFoo'));
18 var_dump($rc->hasProperty('privateFoo'));
21 var_dump($rc->hasProperty('staticFoo'));
24 var_dump($rc->hasProperty('bar'));
H A DReflectionClass_hasProperty_001.phpt2 ReflectionClass::hasProperty()
35 var_dump($rc->hasProperty("s"));
37 var_dump($rc->hasProperty("a"));
39 var_dump($rc->hasProperty("A"));
41 var_dump($rc->hasProperty("doesntExist"));
H A Dbug49719.phpt2 Bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)
19 var_dump($ref->hasProperty('a'));
H A DReflectionClass_toString_001.phpt144 Method [ <internal:Reflection> public method hasProperty ] {
/PHP-7.2/Zend/tests/
H A Dbug50146.phpt11 var_dump($ref->hasProperty('b'));
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c4276 ZEND_METHOD(reflection_class, hasProperty) in ZEND_METHOD() argument
6475 ZEND_ME(reflection_class, hasProperty, arginfo_reflection_class_hasProperty, 0)

Completed in 29 milliseconds