> These functions are more efficient than `str_replace()`

Right, but they're only called a single time, so it's a micro-optimization which _severely_ decreases readability. Not sold.