cvs: ZendEngine2(PHP_5_1) / zend_compile.c

From: Date: Tue, 22 Nov 2005 19:46:16 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4378@lists.php.net to get a copy of this message
iliaa Tue Nov 22 14:46:16 2005 EDT Modified files: (Branch: PHP_5_1) /ZendEngine2 zend_compile.c Log: Removed {} E_STRICT pending furher discussion, may be introduced later on. http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.647.2.14&r2=1.647.2.15&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.647.2.14 ZendEngine2/zend_compile.c:1.647.2.15 --- ZendEngine2/zend_compile.c:1.647.2.14 Wed Nov 16 10:10:56 2005 +++ ZendEngine2/zend_compile.c Tue Nov 22 14:46:13 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.647.2.14 2005/11/16 15:10:56 iliaa Exp $ */ +/* $Id: zend_compile.c,v 1.647.2.15 2005/11/22 19:46:13 iliaa Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -465,7 +465,9 @@ void fetch_string_offset(znode *result, znode *parent, znode *offset TSRMLS_DC) { +#ifdef ilia_0 zend_error(E_STRICT, "Usage of {} to access string offsets is deprecated and will be removed in PHP 6"); +#endif fetch_array_dim(result, parent, offset TSRMLS_CC); }

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