> And yes, the security thing is the blocker on NUL, but if trim_space() idea
> clicked, and given your interest in topic and the bit precision you've
> shown, may I ask you if you have some interest in implementing it?

No need to invent trim_space() anew. It already exists:
https://www.php.net/manual/function.mb-trim.php

Reply via email to