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

From: Date: Fri, 27 Feb 2026 16:42:06 +0000
Subject: Re: [RFC] [VOTE] Prefix and Suffix Functions
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-130196@lists.php.net to get a copy of this message
Hey Larry, On 27.2.2026 17:32:47, Larry Garfield wrote:
Though I would also question why so many people are voting for $subject-last for the secondary vote. --Larry Garfield
The two-argument variants are consistent with e.g. addcslashes (one subject operated on with an argument) - so that's perfectly consistent. Then for replacing, you want consistency with str_replace, and preg_replace and such. Bob

« previous php.internals (#130196) next »