I know that there is no mb_trim
version of the trim
. I have links to the dozen of articles for how to implement one using preg_replace
.
The question I have, is the usual trim
with default chars mb safe? That is, is there any example of multibyte character that ends with single byte whitespace char code?