[pr-645] Add offset to reset() and end()

From: Date: Fri, 18 Apr 2014 00:39:41 +0000
Subject: [pr-645] Add offset to reset() and end()
Groups: php.internals 
Request: Send a blank email to internals+get-73735@lists.php.net to get a copy of this message
Hi, I've added a PR that satisfies #31375. https://github.com/php/php-src/pull/645 It adds a second optional argument to reset() and end() to specify the number of elements that should be skipped (forward or backward). Currently, negative offsets are ignored. Should we raise a notice for such cases? Something like: "Negative offsets are not supported." Any feedback is welcome. Thanks! -- -- Tjerk

« previous php.internals (#73735) next »