From bd86aff00507712a8e67b449a23165db2f75190b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 2 Sep 2003 13:12:47 +0000 Subject: [PATCH] These are implicit properties as denoted by the flag. Dynamic properties only exist in one single object and currently reflection api is not capable of showing those. --- Zend/zend_reflection_api.c | 2 +- ext/reflection/php_reflection.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 08eda3c105..f7f5f08151 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -430,7 +430,7 @@ static void _function_string(string *str, zend_function *fptr, char* indent TSRM static void _property_string(string *str, zend_property_info *prop, char* indent TSRMLS_DC) { string_printf(str, "%sProperty [ %s", indent, - (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) ? " " : " "); + (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) ? " " : " "); /* These are mutually exclusive */ switch (prop->flags & ZEND_ACC_PPP_MASK) { diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 08eda3c105..f7f5f08151 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -430,7 +430,7 @@ static void _function_string(string *str, zend_function *fptr, char* indent TSRM static void _property_string(string *str, zend_property_info *prop, char* indent TSRMLS_DC) { string_printf(str, "%sProperty [ %s", indent, - (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) ? " " : " "); + (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) ? " " : " "); /* These are mutually exclusive */ switch (prop->flags & ZEND_ACC_PPP_MASK) { -- 2.40.0