From 7a7cda7a4cac9c2228b88db0b044e5f1eae20a44 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 16 Jun 2005 23:02:23 +0000 Subject: - Internal functions/methods can now return by reference --- ext/reflection/php_reflection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/reflection/php_reflection.c') diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index e1f61687f9..56af747dee 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -654,7 +654,7 @@ static void _function_string(string *str, zend_function *fptr, char* indent TSRM } string_printf(str, fptr->common.scope ? "method " : "function "); - if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.return_reference) { + if (fptr->op_array.return_reference) { string_printf(str, "&"); } string_printf(str, "%s ] {\n", fptr->common.function_name); -- cgit v1.2.1