mb_scrub

(PHP 7 >= 7.2.0, PHP 8)

mb_scrubDescription

说明

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

警告

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

参数

string

encoding

返回值

更新日志

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

User Contributed Notes 1 note

up
17
Sammitch
4 years ago
Replaces 'ill-formed' byte sequences with '?'.

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

备份地址:http://www.lvesu.com/blog/php/function.mb-scrub.php