note 124557 added to function.substr-replace
| From: | shaman_master.list.ru via php-notes | Date: | Tue, 31 Dec 2019 22:48:01 +0000 |
| Subject: | note 124557 added to function.substr-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213718@lists.php.net to get a copy of this message | ||
Add prefix to strings:
<?php
substr_replace($strings, '_prefix', 0, 0);
?>
Add suffix/postfix to strings:
<?php
substr_replace($strings, '_suffix', array_map('strlen', $strings), 0);
?>
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.168 (proxied: 31.129.195.57)
----
Manual Page -- http://php.net/manual/en/function.substr-replace.php
Edit -- https://master.php.net/note/edit/124557
Del: integrated -- https://master.php.net/note/delete/124557/integrated
Del: useless -- https://master.php.net/note/delete/124557/useless
Del: bad code -- https://master.php.net/note/delete/124557/bad+code
Del: spam -- https://master.php.net/note/delete/124557/spam
Del: non-english -- https://master.php.net/note/delete/124557/non-english
Del: in docs -- https://master.php.net/note/delete/124557/in+docs
Del: other reasons-- https://master.php.net/note/delete/124557
Reject -- https://master.php.net/note/reject/124557
Search -- https://master.php.net/manage/user-notes.php