From: Ilia Alshanetsky Date: Tue, 22 Nov 2005 19:46:13 +0000 (+0000) Subject: Removed {} E_STRICT pending furher discussion, may be introduced later on. X-Git-Tag: php-5.1.0~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d088689c023ab7864374fb44e3912a004b8f17e;p=php Removed {} E_STRICT pending furher discussion, may be introduced later on. --- 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); }