summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-11-16 15:10:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-11-16 15:10:56 +0000
commit9aeb125f4a8158cafcfa208007e51e918b3489c8 (patch)
tree915bf28ce54d24c1c38177114d34b17ce42b196d
parentaab9009deb8906ebd43238b71d426cc924160396 (diff)
downloadphp-git-9aeb125f4a8158cafcfa208007e51e918b3489c8.tar.gz
By popular demand the {} message is now an E_STRICT.
-rw-r--r--Zend/zend_compile.c2
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);
}