diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-11-16 15:10:56 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-11-16 15:10:56 +0000 |
commit | 9aeb125f4a8158cafcfa208007e51e918b3489c8 (patch) | |
tree | 915bf28ce54d24c1c38177114d34b17ce42b196d /Zend/zend_compile.c | |
parent | aab9009deb8906ebd43238b71d426cc924160396 (diff) | |
download | php-git-9aeb125f4a8158cafcfa208007e51e918b3489c8.tar.gz |
By popular demand the {} message is now an E_STRICT.
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |