]> granicus.if.org Git - php/commitdiff
By popular demand the {} message is now an E_STRICT.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 16 Nov 2005 15:10:56 +0000 (15:10 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 16 Nov 2005 15:10:56 +0000 (15:10 +0000)
Zend/zend_compile.c

index f8f3d99572e7e19aedb46d354ddc348eb582f3ef..bdfbfa1fa9af3375e7b3b765618cc60fa5494b8f 100644 (file)
@@ -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);
 }