summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index c060101dc8..219da845c7 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -593,6 +593,9 @@ static void _function_string(string *str, zend_function *fptr, char* indent TSRM
case ZEND_ACC_PROTECTED:
string_printf(str, "protected ");
break;
+ default:
+ string_printf(str, "<visibilty error> ");
+ break;
}
string_printf(str, fptr->common.scope ? "method " : "function ");