mb_scrub

(PHP 7 >= 7.2.0, PHP 8)

mb_scrubDescription

Descrição

mb_scrub(string $string, ?string $encoding = null): string

Aviso

Esta função não está documentada; apenas a lista de argumentos está disponível.

Parâmetros

string

encoding

Valor Retornado

Changelog

Versão Descrição
8.0.0 O parâmetro encoding agora pode ser nulo.
add a note

User Contributed Notes 1 note

up
20
Sammitch
5 years ago
Replaces 'ill-formed' byte sequences with '?'.

See: https://github.com/php/php-src/pull/1099
To Top