cvs: ZendEngine2(PHP_5_1) / zend_compile.c
| From: | Ilia Alshanetsky | Date: | Wed, 16 Nov 2005 15:10:57 +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-4348@lists.php.net to get a copy of this message | ||
iliaa Wed Nov 16 10:10:57 2005 EDT
Modified files: (Branch: PHP_5_1)
/ZendEngine2 zend_compile.c
Log:
By popular demand the {} message is now an E_STRICT.
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.647.2.13&r2=1.647.2.14&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.647.2.13 ZendEngine2/zend_compile.c:1.647.2.14
--- ZendEngine2/zend_compile.c:1.647.2.13 Wed Nov 16 09:55:21 2005
+++ ZendEngine2/zend_compile.c Wed Nov 16 10:10:56 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.647.2.13 2005/11/16 14:55:21 iliaa Exp $ */
+/* $Id: zend_compile.c,v 1.647.2.14 2005/11/16 15:10:56 iliaa Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -465,7 +465,7 @@
void fetch_string_offset(znode *result, znode *parent, znode *offset TSRMLS_DC)
{
- zend_error(E_NOTICE, "Usage of {} to access string offsets is deprecated and will be removed
in PHP 6");
+ zend_error(E_STRICT, "Usage of {} to access string offsets is deprecated and will be removed
in PHP 6");
fetch_array_dim(result, parent, offset TSRMLS_CC);
}