# Check RFC draft

- Thread: https://externals.io/message/129836
- Original archive: https://news-web.php.net/php.internals/129836
- Started by Barel on 2026-01-22T08:01:32+00:00
- Messages: 2
- RFC: Prefix and Suffix Functions (Declined) — https://externals.io/rfc/prefix_suffix_functions.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #129836 — Barel — 2026-01-22T08:01:32+00:00

URL: https://externals.io/message/129836#129836

Hi

I just created this RFC draft
https://wiki.php.net/rfc/prefix_suffix_functions

Given that this is my first RFC I would like to ask if it would be possible
for someone to take a quick look to see if the format/overall content
structure is correct or if there is anything that needs to be changed
before I move it to the discussion process

Thanks!!

Carlos

---

## #129840 — tim@bastelstu.be — 2026-01-22T08:38:25+00:00

URL: https://externals.io/message/129836#129840 · In reply to: #129836

Hi

Am 2026-01-22 09:01, schrieb Barel:
> I just created this RFC draft
> https://wiki.php.net/rfc/prefix_suffix_functions
> 
> Given that this is my first RFC I would like to ask if it would be 
> possible
> for someone to take a quick look to see if the format/overall content
> structure is correct or if there is anything that needs to be changed
> before I move it to the discussion process

You carefully followed the suggested template and provided extensive 
explanation of possible edge cases and also meaningful example use 
cases. I don't see anything that needs changes structure-wise or 
anything important missing. The formatting in “Edge cases and potential 
gotchas” is a little broken, instead of the bold bullet points it 
probably makes sense to add further sub-headings.

One note to the implementation: I believe the `_ensure` and `_remove()` 
functions should be “haystack first“ for consistency (i.e. first the 
target string, then the prefix/suffix).

Best regards
Tim Düsterhus
