diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 60808a288a7..a96531b5d49 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -488,6 +488,8 @@ static void _extension_string(string *str, zend_module_entry *module, char *inde } string_printf(str, "%s }\n", indent); } + + string_printf(str, "%s}\n", indent); } static void _function_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 60808a288a7..a96531b5d49 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -488,6 +488,8 @@ static void _extension_string(string *str, zend_module_entry *module, char *inde } string_printf(str, "%s }\n", indent); } + + string_printf(str, "%s}\n", indent); } static void _function_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask)