Re: [RFC] [VOTE] Prefix and Suffix Functions

From: Date: Fri, 27 Feb 2026 22:44:43 +0000
Subject: Re: [RFC] [VOTE] Prefix and Suffix Functions
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-130204@lists.php.net to get a copy of this message
On 2/27/26 10:32, Larry Garfield wrote:
I know I personally would use the _ensure_() functions quite frequently in a project of mine. Hence my yes vote. Though I would also question why so many people are voting for $subject-last for the secondary vote. --Larry Garfield
I changed my mind on the subject placement due to others' arguments about being consistent with str_replace, str_ireplace, preg_replace, preg_replace_callback, mb_ereg_replace, mb_ereg_replace_callback, and mb_eregi_replace. The odd one out among these is substr_replace. Cheers, Ben

Attachment: [application/pgp-signature] OpenPGP digital signature OpenPGP_signature.asc
« previous php.internals (#130204) next »