From: Marcus Boerger Date: Sat, 3 Jan 2009 12:27:43 +0000 (+0000) Subject: - Small reordering X-Git-Tag: php-5.4.0alpha1~191^2~4659 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fb20017f61682c92180b71669241b2d8ec54e64;p=php - Small reordering --- diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index d9e590f7f3..0dcd2de55c 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -857,8 +857,6 @@ static void _function_string(string *str, zend_function *fptr, zend_class_entry fptr->op_array.line_start, fptr->op_array.line_end); } - string_init(¶m_indent); - string_printf(¶m_indent, "%s ", indent); if (closure) { const zend_function *closure_fptr = zend_get_closure_method_def(closure TSRMLS_CC); if (closure_fptr->type == ZEND_USER_FUNCTION && closure_fptr->op_array.static_variables) { @@ -881,6 +879,8 @@ static void _function_string(string *str, zend_function *fptr, zend_class_entry } } } + string_init(¶m_indent); + string_printf(¶m_indent, "%s ", indent); _function_parameter_string(str, fptr, param_indent.string TSRMLS_CC); string_free(¶m_indent); string_printf(str, "%s}\n", indent);