diff options
author | Marcus Boerger <helly@php.net> | 2004-07-25 18:20:33 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-07-25 18:20:33 +0000 |
commit | 7e914380c9bef74f80ca9c96e033811ea4adee54 (patch) | |
tree | b553c612a2d47c1f2a4409f4415e6dbd2606e390 /ext/reflection/php_reflection.c | |
parent | f5cf052225ff4bc5ba7fe2c8b9f0ffcd980cac6f (diff) | |
download | php-git-7e914380c9bef74f80ca9c96e033811ea4adee54.tar.gz |
- Show visibility errors (try to fix #29354)
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 3 |
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 "); |