Re: note 8550 added to str_replace
| From: | Lars Torben Wilson | Date: | Sun, 17 Sep 2000 20:51:03 +0000 |
| Subject: | Re: note 8550 added to str_replace | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-5128@lists.php.net to get a copy of this message | ||
whitewolf@cedar-rapids.net writes:
> this function sometimes acts a stupid
> $MessageText = str_replace("[/url]", "</a>", $MessageText);
> was missing ALL occurances of [/url] in the string (UBB Code interpreter)
>
> http://www.php.net/manual/function.str-replace.php
I can't reproduce this with recent versions of PHP 3 or PHP 4. What
version are you using? And, can you provide a bit more context--i.e.,
the shortest script you can come up with which demonstrates the
problem?
Also, the note has been delete. The errata notes system isn't the
place to ask questions. You'll typically get much faster responses by
posting them to the PHP mailing list at php-general@lists.php.net. The
manual errata system is intended for submissions of text to be
included in the manual, not as a question-and-answer forum. Nobody
really reads the manual errata looking for questions to answer,
whereas the list is read by thousands. :) Please make sure to read the
instructions at http://www.php.net/manual/add-note.php before
adding
another note.
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+