Home
last modified time | relevance | path

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

/php-src/ext/reflection/tests/
H A D020.phpt2 ReflectionObject::hasProperty
16 var_dump($obj->hasProperty("p1"));
17 var_dump($obj->hasProperty("p2"));
18 var_dump($obj->hasProperty("p3"));
19 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_002.phpt2 ReflectionClass::hasProperty() - error cases
14 var_dump($rc->hasProperty(1));
15 var_dump($rc->hasProperty(1.5));
16 var_dump($rc->hasProperty(true));
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("doesNotExist"));
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.phpt156 Method [ <internal:Reflection> public method hasProperty ] {
/php-src/Zend/tests/
H A Dbug50146.phpt11 var_dump($ref->hasProperty('b'));
/php-src/ext/reflection/
H A Dphp_reflection.stub.php304 public function hasProperty(string $name): bool {} function in ReflectionClass
H A Dphp_reflection_arginfo.h804 ZEND_METHOD(ReflectionClass, hasProperty);
1095 ZEND_ME(ReflectionClass, hasProperty, arginfo_class_ReflectionClass_hasProperty, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4483 ZEND_METHOD(ReflectionClass, hasProperty) in ZEND_METHOD() argument

Completed in 37 milliseconds