PHP 8.5.0 Alpha 4 available for testing

Voting

: min(three, one)?
(Example: nine)

The Note You're Voting On

gmx dot net at ulrich dot mierendorff
17 years ago
If you want to replace characters like "ä" or "ø" you can use mb_ereg_replace, but it is very slow. str_replace is much faster and also works with characters like "ä" or "ø"!

I think this has something to with the fact that str_replace works on byte level and does not care about characters.
I hope that can help.

<< Back to user notes page

To Top