* Thus wrote PHP Gen:
> Hi,
> I need to use a couple of str_replace's in one of my
> programs and would like to know which is more resource
> friendly:
>
> 1) having multiple str_replace one after another
>
> eg:
> $text = str_replace("orange", "apple", "$text");
> $text = str_replace("black", "w
Hi,
I need to use a couple of str_replace's in one of my
programs and would like to know which is more resource
friendly:
1) having multiple str_replace one after another
eg:
$text = str_replace("orange", "apple", "$text");
$text = str_replace("black", "white", "$text");
$text = str_replace("girl
2 matches
Mail list logo