note 117122 deleted from function.preg-replace by crell

From: Date: Fri, 01 Jul 2022 19:49:32 +0000
Subject: note 117122 deleted from function.preg-replace by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218861@lists.php.net to get a copy of this message
Note Submitter: logofero at gmail dot com ---- Why not offset parameter to replace the string? It would be helpful example: mixed preg_replace (mixed $pattern, mixed $replacement, mixed $subject [, int $limit = -1 [, int & $count [, int $offset = 0]]]) 1 $pattern 2 $replacement 3 $subject 4 $limit 5 $count 6 $offset <- it is planned?

« previous php.notes (#218861) next »