note 117122 added to function.preg-replace
| From: | logofero at gmail dot com | Date: | Fri, 17 Apr 2015 16:13:26 +0000 |
| Subject: | note 117122 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202290@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 72.52.91.14
Probable Submitter: 46.158.224.189
----
Manual Page -- http://php.net/manual/en/function.preg-replace.php
Edit -- https://master.php.net/note/edit/117122
Del: integrated -- https://master.php.net/note/delete/117122/integrated
Del: useless -- https://master.php.net/note/delete/117122/useless
Del: bad code -- https://master.php.net/note/delete/117122/bad+code
Del: spam -- https://master.php.net/note/delete/117122/spam
Del: non-english -- https://master.php.net/note/delete/117122/non-english
Del: in docs -- https://master.php.net/note/delete/117122/in+docs
Del: other reasons-- https://master.php.net/note/delete/117122
Reject -- https://master.php.net/note/reject/117122
Search -- https://master.php.net/manage/user-notes.php