From 0d088689c023ab7864374fb44e3912a004b8f17e Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 22 Nov 2005 19:46:13 +0000 Subject: [PATCH] Removed {} E_STRICT pending furher discussion, may be introduced later on. --- Zend/zend_compile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index bdfbfa1fa9..71ef13eb38 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -465,7 +465,9 @@ void fetch_array_dim(znode *result, znode *parent, znode *dim TSRMLS_DC) 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); } -- 2.40.0