Split as an alias to explode
| From: | Vinicius Dias | Date: | Fri, 15 Aug 2025 15:53:52 +0000 |
| Subject: | Split as an alias to explode | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-128477@lists.php.net to get a copy of this message | ||
Hello, internal folks.
We have
join as an alias for implode so I think it makes sense to
have split as an alias to explode, doesn't it?
If I understood it correctly (I don't have any knowledge in PHP's
internal code) this doesn't add a lot of maintenance complexity so I
see no reason to not have it.
I tried starting a PR but it's probably missing stuff (although it
seems to work after I compiled and gave it a try).
https://github.com/php/php-src/pull/19490
Since this is such a small change, I wouldn't expect it to require an
RFC, but if it does, I'd be happy to write it.
Thanks in advance for any feedback.