Re: array_seek function
| From: | Brian Moon | Date: | Wed, 17 Mar 2010 19:14:21 +0000 |
| Subject: | Re: array_seek function | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47379@lists.php.net to get a copy of this message | ||
I would expect it to return the same as current, next, prev rather than a file io function. Brian.No, just to keep it similar to fseek(). Either way works for me.Update: http://phpbenelux.eu/array_seek-return.patch.txt I've kept the fseek()-style return values (0 when fine, -1 when seek fails)Any reason why you picked that over the (IMO more logical) true/false approach?