Browse Source

Fix 2nd issue of bug #28831

PHP-5.0
Marcus Boerger 22 years ago
parent
commit
de8b457181
  1. 2
      ext/spl/spl_array.c

2
ext/spl/spl_array.c

@ -350,7 +350,7 @@ SPL_METHOD(Array, offsetGet)
return;
}
value = spl_array_read_dimension(getThis(), index, BP_VAR_R TSRMLS_CC);
RETURN_ZVAL(value, 0, 1);
RETURN_ZVAL(value, 1, 0);
} /* }}} */
/* {{{ proto void ArrayObject::offsetSet(mixed $index, mixed $newval)

Loading…
Cancel
Save