diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-11-16 14:55:21 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-11-16 14:55:21 +0000 |
| commit | aab9009deb8906ebd43238b71d426cc924160396 (patch) | |
| tree | f5a76aaa196a4e1808965573b564b5293b5a5358 /Zend/zend_compile.c | |
| parent | 209169786a7fda2897f5ab36c7cb555007aa90c2 (diff) | |
| download | php-git-aab9009deb8906ebd43238b71d426cc924160396.tar.gz | |
Added depreciation notice for {} string offset access.
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 85923e622e..f8f3d99572 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -465,6 +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"); fetch_array_dim(result, parent, offset TSRMLS_CC); } |
