Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31259, comment 2


Ignore:
Timestamp:
03/07/2015 10:55:41 PM (10 years ago)
Author:
wonderboymusic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31259, comment 2

    initial v1  
    22https://github.com/php/php-src/blob/745504ea2a7066588af9714f5e32523a3fff4db7/ext/standard/array.c#L2199
    33
    4 I tend to prefer `reset()` or `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.
     4I 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.
    55
    66`reset()`