Searched refs:hasProperty (Results 1 – 10 of 10) sorted by relevance
2 ReflectionObject::hasProperty16 var_dump($obj->hasProperty("p1"));17 var_dump($obj->hasProperty("p2"));18 var_dump($obj->hasProperty("p3"));19 var_dump($obj->hasProperty("p4"));
2 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'));
2 ReflectionClass::hasProperty() - error cases14 var_dump($rc->hasProperty(1));15 var_dump($rc->hasProperty(1.5));16 var_dump($rc->hasProperty(true));
2 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"));
2 Bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)19 var_dump($ref->hasProperty('a'));
153 Method [ <internal:Reflection> public method hasProperty ] {
11 var_dump($ref->hasProperty('b'));
268 public function hasProperty(string $name): bool {} function in ReflectionClass
681 ZEND_METHOD(ReflectionClass, hasProperty);946 ZEND_ME(ReflectionClass, hasProperty, arginfo_class_ReflectionClass_hasProperty, ZEND_ACC_PUBLIC)
4474 ZEND_METHOD(ReflectionClass, hasProperty) in ZEND_METHOD() argument
Completed in 32 milliseconds