You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zend_throw_exception_ex(spl_ce_OutOfBoundsException, 0, "Cannot seek to "ZEND_LONG_FMT" which is below the offset "ZEND_LONG_FMT, pos, intern->u.limit.offset);
2229
2242
return;
2230
2243
}
2231
-
if (pos-intern->u.limit.offset >= intern->u.limit.count&&intern->u.limit.count!=-1) {
2244
+
if (spl_limit_it_relative_pos_for(intern, pos) >= intern->u.limit.count&&intern->u.limit.count!=-1) {
2232
2245
zend_throw_exception_ex(spl_ce_OutOfBoundsException, 0, "Cannot seek to "ZEND_LONG_FMT" which is behind offset "ZEND_LONG_FMT" plus count "ZEND_LONG_FMT, pos, intern->u.limit.offset, intern->u.limit.count);
0 commit comments