if (SUCCESS == Z_OBJ_HT_P(op1)->count_elements(op1, &count)) {
break;
}
+ if (UNEXPECTED(EG(exception))) {
+ count = 0;
+ break;
+ }
}
/* if not and the object implements Countable we call its count() method */
if (SUCCESS == Z_OBJ_HT_P(op1)->count_elements(op1, &count)) {
break;
}
+ if (UNEXPECTED(EG(exception))) {
+ count = 0;
+ break;
+ }
}
/* if not and the object implements Countable we call its count() method */
if (SUCCESS == Z_OBJ_HT_P(op1)->count_elements(op1, &count)) {
break;
}
+ if (UNEXPECTED(EG(exception))) {
+ count = 0;
+ break;
+ }
}
/* if not and the object implements Countable we call its count() method */
if (SUCCESS == Z_OBJ_HT_P(op1)->count_elements(op1, &count)) {
break;
}
+ if (UNEXPECTED(EG(exception))) {
+ count = 0;
+ break;
+ }
}
/* if not and the object implements Countable we call its count() method */
if (SUCCESS == Z_OBJ_HT(*array)->count_elements(array, &Z_LVAL_P(return_value))) {
return;
}
+ if (EG(exception)) {
+ return;
+ }
}
/* if not and the object implements Countable we call its count() method */
if (instanceof_function(Z_OBJCE_P(array), zend_ce_countable)) {