mb_scrub

(PHP 7 >= 7.2.0, PHP 8)

mb_scrubDescription

说明

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

警告

本函数还未编写文档,仅有参数列表。

参数

string

encoding

返回值

更新日志

版本 说明
8.0.0 现在 encoding 可以为 null。
add a note add a note

User Contributed Notes 1 note

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

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