|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-04-19 08:57 UTC] aharvey@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: aharvey
[2011-04-19 09:22 UTC] aharvey@php.net
[2011-04-19 09:22 UTC] aharvey@php.net
-Status: Assigned
+Status: Closed
[2011-04-19 09:22 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 18:00:02 2026 UTC |
Description: ------------ substr_replace accepts arguments not only as strings but as arrays, and judging from SVN it is there for many years, but the manual says nothing about this option. Test script: --------------- var_dump(substr_replace(array("foo","bar"),array("baz","blah"),array(1,2))); Actual result: -------------- array(2) { [0]=> string(4) "fbaz" [1]=> string(6) "bablah" }