Re: Implode() FR and Patch
| From: | Igor Feghali | Date: | Sun, 07 Dec 2008 00:38:25 +0000 |
| Subject: | Re: Implode() FR and Patch | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42130@lists.php.net to get a copy of this message | ||
On Sat, Dec 6, 2008 at 21:07, Lars Strojny <lstrojny@php.net> wrote:
> enough. You ran into a situation where this became a bottleneck in your
> code?
nope. I just think its something too "simple", too "obvious" and too
"frequent" so it deserves the love of php internals. Having to call
array_filter() and yet a callback function just to check the emptiness
of an element is too much of a hassle and a waste of both - running
and development time.
> For consistency, if we decide to introduce that for implode(), we should
> do it for explode() too.
Actually that's already on my plans but I was waiting some feedback on
implode() first.
> Anyway, would you mind writing a proper RFC for the addition?
Absolutely. I would appreciate some directions on that though. Can I
just follow the template of, say http://wiki.php.net/rfc/traits ?
Regards,
Igor Feghali.