cvs: ZendEngine2 / zend_compile.c

From: Date: Sat, 23 Feb 2008 21:24:18 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6452@lists.php.net to get a copy of this message
helly Sat Feb 23 21:24:18 2008 UTC Modified files: /ZendEngine2 zend_compile.c Log: - Felipe just told me we forgot this one http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.803&r2=1.804&diff_format=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.803 ZendEngine2/zend_compile.c:1.804 --- ZendEngine2/zend_compile.c:1.803 Sat Feb 23 17:03:51 2008 +++ ZendEngine2/zend_compile.c Sat Feb 23 21:24:18 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.803 2008/02/23 17:03:51 helly Exp $ */ +/* $Id: zend_compile.c,v 1.804 2008/02/23 21:24:18 helly Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -2195,7 +2195,7 @@ } else if (CG(active_op_array)->return_reference && expr->u.EA.type == ZEND_PARSED_NEW) { opline->extended_value = ZEND_RETURNS_NEW; - zend_error(E_STRICT, "Returning the return value of new by reference is deprecated"); + zend_error(E_DEPRECATED, "Returning the return value of new by reference is deprecated"); } } else { opline->op1.op_type = IS_CONST;

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