Replaces 'ill-formed' byte sequences with '?'.
See: https://github.com/php/php-src/pull/1099
(PHP 7 >= 7.2.0, PHP 8)
mb_scrub — Description
$string
, ?string $encoding
= null
): string
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.
string
encoding
Version | Beschreibung |
---|---|
8.0.0 |
encoding ist nun nullable (akzeptiert den
null -Wert).
|
Replaces 'ill-formed' byte sequences with '?'.
See: https://github.com/php/php-src/pull/1099