> Le 15 août 2025 à 17:53, Vinicius Dias <carlosv...@gmail.com> a écrit :
>
> 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.
Hi,
We already have a function named `str_split()` which does something else.
Adding a function named `split()` could cause confusion.
—Claude