cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Thu, 16 Jun 2005 23:02:25 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3823@lists.php.net to get a copy of this message
helly Thu Jun 16 19:02:25 2005 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: - Internal functions/methods can now return by reference http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.158&r2=1.159&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.158 ZendEngine2/zend_reflection_api.c:1.159 --- ZendEngine2/zend_reflection_api.c:1.158 Mon Jun 13 03:55:07 2005 +++ ZendEngine2/zend_reflection_api.c Thu Jun 16 19:02:23 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.158 2005/06/13 07:55:07 dmitry Exp $ */ +/* $Id: zend_reflection_api.c,v 1.159 2005/06/16 23:02:23 helly Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -654,7 +654,7 @@ } 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);

« previous php.zend-engine.cvs (#3823) next »