Hi

Am 2025-08-18 16:57, schrieb Vinicius Dias:
Hello, folks. As discussed in previous messages [1], I am proposing
the creation of an alias function `split` to the `explode` function.

Here is the RFC for discussion:
https://wiki.php.net/rfc/create-split-alias-to-explode

I feel like the current RFC text is very biased in favor of adding the alias. I believe it would be prudent to also list possible caveats and arguments against so that voters are able to make an educated decision. Several points have already been raised in the pre-RFC discussion thread, for example the possible confusion with `str_split()`.

While it's not strictly necessary to follow the RFC template, it is often a good idea to make sure everything is accounted for. The template specifically contains an RFC impact section that is missing from your RFC: https://wiki.php.net/rfc/template#rfc_impact.

The “Backwards Incompatible Changes” section should also mention that `split()` would no longer be available to userland. Quoting from the template:

Please include all breaking changes, no matter how minor they might appear. All research you did on potential impact should be listed in this section.

and

For **adding new functions**, classes or keywords, here are some possibilities to measure potential impact:

(highlighting mine)

Best regards
Tim Düsterhus

Reply via email to