Re: [RFC] [Discussion] Add new function `array_group`
| From: | Casper Langemeijer | Date: | Thu, 01 Jun 2023 23:30:58 +0000 |
| Subject: | Re: [RFC] [Discussion] Add new function `array_group` | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120506@lists.php.net to get a copy of this message | ||
On Thu, Jun 1, 2023, at 11:56, Boro Sitnikovski wrote:
> Thank you for the suggestion, I like this approach and it's definitely much
> "safer" than going with an RFC for core directly.
>
> What are your thoughts on creating a PECL extension called
>
array_utils (selling point would be high performance array utils or
> something), which in the future might contain more than
> array_group*, and the approach would be to cherry-pick those
> functions that have frequent usage in codebases into core? Or would it be better to stick to a
> particular/more concrete extension?
I don't know. Also, I have no way of knowing if this would work. Although I mail using my
php.net email address, and that could convey some authority, I really do not have that.
My contribution to PHP is limited to maintaining the PECL ssh2 extension. Most of what I do is
merging stuff other people write, keep an eye on bugs, Toss out GitHub issues when they are not
relevant or lack real information, and update documentation.
Sometimes chances to extension code are required by changes in the PHP interface. Mostly it's
all minor stuff, and not much work.
If you end up at the stage where you start writing C code, let me know if you think I can be of
value to you.
I really value other people's contributions in open source projects and enjoy contributing to
create a better working development community. I think there can be value in every step that can be
taken in developing software. But you should be very realistic in your expectations of code ending
up in PHP core.
If you can enjoy the process, see the value in the steps in between, if you are prepared to learn
stuff that everyone around here already seems to know but somehow is not written down anywhere
except in the code of php or other extensions, it is really fun and will bring you insights that are
invaluable in working with PHP.
Greetings, Casper