summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-02 11:25:41 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-02 11:25:41 +0200
commit184fdac7c2dd4bf97a6c70de6d9385c203e4a88a (patch)
tree37e251f424f464efb1242769df063dc0a09e6e8c /ext/reflection/php_reflection.c
parent083b0c38a0aad768403d9fc973e70e02712bd031 (diff)
downloadphp-git-184fdac7c2dd4bf97a6c70de6d9385c203e4a88a.tar.gz
Remove <default> prefix from reflection dump
This really doesn't add anything, and only makes for confusing terminology. Only marking properties as dynamic is sufficient.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 77037f9571..278e565874 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -843,10 +843,6 @@ static void _property_string(smart_str *str, zend_property_info *prop, const cha
if (!prop) {
smart_str_append_printf(str, "<dynamic> public $%s", prop_name);
} else {
- if (!(prop->flags & ZEND_ACC_STATIC)) {
- smart_str_appends(str, "<default> ");
- }
-
/* These are mutually exclusive */
switch (prop->flags & ZEND_ACC_PPP_MASK) {
case ZEND_ACC_PUBLIC: