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
Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.
string
encoding
Versión | Descripción |
---|---|
8.0.0 |
encoding is nullable now.
|
Replaces 'ill-formed' byte sequences with '?'.
See: https://github.com/php/php-src/pull/1099