From: Ilia Alshanetsky Date: Wed, 16 Nov 2005 15:10:56 +0000 (+0000) Subject: By popular demand the {} message is now an E_STRICT. X-Git-Tag: php-5.1.0RC5~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9aeb125f4a8158cafcfa208007e51e918b3489c8;p=php By popular demand the {} message is now an E_STRICT. --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index f8f3d99572..bdfbfa1fa9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -465,7 +465,7 @@ void fetch_array_dim(znode *result, znode *parent, znode *dim TSRMLS_DC) 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); }