Re: [PATCH] New functions: array_key_index(), array_first(), array_last()
| From: | Brian Moon | Date: | Mon, 08 Jan 2007 16:06:18 +0000 |
| Subject: | Re: [PATCH] New functions: array_key_index(), array_first(), array_last() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27338@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
These functions seem to replace only a couple lines of code at best, especially array_first() and array_last(). I don't think the cost of keeping up the code/docs for the new functions warrants their inclusion.The same could be said for half the array functions. array_sum() is like 3 lines. IMO, the better question is, are these useful additions for people that work with a lot of arrays. IMO, they are good additions to a very useful set of array functions. -- Brian Moon ------------- http://dealnews.com/ It's good to be cheap =)