mb_scrub
laravel/octane
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Replace ill-formed byte sequences with the substitute character
<?php mb_scrub
(
string $string
, ?
string $encoding
=
null
):
string