The surrogate blocks FFFE and FFFF are non-characters, specifically disallowed in the character range for XML documents.
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc show notice when null is passed as an argument