mb_scrub

(PHP 7 >= 7.2.0, PHP 8)

mb_scrubDescription

Description

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

Warning

This function is currently not documented; only its argument list is available.

Parameters

string

encoding

Return Values

Changelog

Version Description
8.0.0 encoding is nullable now.
add a note add a note

User Contributed Notes 1 note

up
11
Sammitch
3 years ago
Replaces 'ill-formed' byte sequences with '?'.

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