diff options
author | SVN Migration <svn@php.net> | 2004-07-15 19:41:25 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-07-15 19:41:25 +0000 |
commit | 5c83dc9adee4691690822a05b290d7d9a9c04c31 (patch) | |
tree | 4c22c901829598dfe7fa599c41c0b2cb569f4afa /Zend/zend_object_handlers.c | |
parent | 8091552925399dc7dbe4d5c47e1cc53f900bc670 (diff) | |
download | php-git-php-5.0.0RC4.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_0RC4'.php-5.0.0RC4
Diffstat (limited to 'Zend/zend_object_handlers.c')
-rw-r--r-- | Zend/zend_object_handlers.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 7965bb0eb3..d7f57a8d96 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -381,14 +381,7 @@ zval *zend_std_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) zval *retval; if (instanceof_function_ex(ce, zend_ce_arrayaccess, 1 TSRMLS_CC)) { - if(offset == NULL) { - /* [] construct */ - zval offset_null; - INIT_ZVAL(offset_null); - offset = &offset_null; - } zend_call_method_with_1_params(&object, ce, NULL, "offsetget", &retval, offset); - if (!retval) { if (!EG(exception)) { zend_error(E_ERROR, "Undefined offset for object of type %s used as array", ce->name); |