Changes between Initial Version and Version 1 of Ticket #31259, comment 2
- Timestamp:
- 03/07/2015 10:55:41 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31259, comment 2
initial v1 2 2 https://github.com/php/php-src/blob/745504ea2a7066588af9714f5e32523a3fff4db7/ext/standard/array.c#L2199 3 3 4 I tend to prefer `reset()` o r `current()`, because `reset()` is guaranteed to be the first item, while `current()` is based on the pointer at calltime. Internally, they are basically the same.4 I tend to prefer `reset()` over `current()`, because `reset()` is guaranteed to be the first item, while `current()` is based on the pointer at calltime. Internally, they are basically the same. 5 5 6 6 `reset()`