|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-20 11:32 UTC] philip@php.net
[2003-06-20 12:39 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 02:00:01 2025 UTC |
Description: ------------ The str_replace funtion doesn't accept the forth parameter in 4.3.2. The documentation says it will accept four parameters. We need to fix one or the other. Reproduce code: --------------- C:\PHP432>php -q <? echo str_replace("dumb","dumber","dumb dumb dumb",$count); ?> ^Z <br /> <b>Notice</b>: Undefined variable: count in <b>C:\PHP432\-</b> on line <b>1</b ><br /> <br /> <b>Warning</b>: Wrong parameter count for str_replace() in <b>C:\PHP432\-</b> o n line <b>1</b><br />