zval_ptr_dtor(&offset);
- if (UNEXPECTED(!retval)) {
- if (UNEXPECTED(!EG(exception))) {
+ if (!retval) {
+ if (!EG(exception)) {
zend_error_noreturn(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
}
return NULL;
zval_ptr_dtor(&offset);
- if (UNEXPECTED(!retval)) {
- if (UNEXPECTED(!EG(exception))) {
+ if (!retval) {
+ if (!EG(exception)) {
zend_error_noreturn(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
}
return 0;