Re: note 26665 added to function.str-replace
| From: | Maxim Maletsky | Date: | Fri, 08 Nov 2002 15:30:18 +0000 |
| Subject: | Re: note 26665 added to function.str-replace | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39169@lists.php.net to get a copy of this message | ||
it should be:
<?PHP
$s="tralala";
echo "$s<br>";
$s = str_replace("la", "li", $s);
echo $s;
?>
not regected. Please use mailing lists: php-general@lists.php.net
--
Maxim Maletsky
maxim@php.net
dvoina@savatech.ro wrote... :
> I've tried:
>
> <?PHP
> $s="tralala";
> echo "$s<br>";
> str_replace("la", "li", $s);
> echo $s;
> ?>
>
> it gave me:
> tralala
> tralala
>
> - is there a bug ?
> --
> http://www.php.net/manual/en/function.str-replace.php
> http://master.php.net/manage/user-notes.php?action=edit+26665
> http://master.php.net/manage/user-notes.php?action=delete+26665
> http://master.php.net/manage/user-notes.php?action=reject+26665
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>