mb_scrub
(PHP 7 >= 7.2.0, PHP 8)
mb_scrub — Description
说明
mb_scrub(string
$string
, ?string $encoding
= null
): string
警告
本函数还未编写文档,仅有参数列表。
参数
-
string
-
-
encoding
-
返回值
更新日志
版本 | 说明 |
---|---|
8.0.0 |
现在 encoding 可以为 null。
|

User Contributed Notes 1 note
Sammitch ¶
4 years ago
Replaces 'ill-formed' byte sequences with '?'.
See: https://github.com/php/php-src/pull/1099