RE: [PHP-DEV] Inconsistency between FETCH_DIM_IS and FETCH_OBJ_IS

2006-07-05 Thread Andi Gutmans
Looks good to me. Thanks! > -Original Message- > From: Sara Golemon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 2:00 PM > To: internals@lists.php.net > Subject: [PHP-DEV] Inconsistency between FETCH_DIM_IS and FETCH_OBJ_IS > > When executing ZEND_

Re: [PHP-DEV] Inconsistency between FETCH_DIM_IS and FETCH_OBJ_IS

2006-07-05 Thread Marcus Boerger
Hello Sara, nice catch, fix looks pretty correct to me best regards marcus Wednesday, July 5, 2006, 10:59:35 PM, you wrote: > When executing ZEND_FETCH_OBJ_IS on a non-object, the handler dispatches > to zend_fetch_property_address_read_helper with type==BP_VAR_IS and ends > up generating an

[PHP-DEV] Inconsistency between FETCH_DIM_IS and FETCH_OBJ_IS

2006-07-05 Thread Sara Golemon
When executing ZEND_FETCH_OBJ_IS on a non-object, the handler dispatches to zend_fetch_property_address_read_helper with type==BP_VAR_IS and ends up generating an error (isset() is supposed to be quiet) here: if (Z_TYPE_P(container) != IS_OBJECT || !Z_OBJ_HT_P(container)->read_property) {