]> granicus.if.org Git - php/commitdiff
Removed {} E_STRICT pending furher discussion, may be introduced later on.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 22 Nov 2005 19:46:13 +0000 (19:46 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 22 Nov 2005 19:46:13 +0000 (19:46 +0000)
Zend/zend_compile.c

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