|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2016-09-15 10:28 UTC] cmb@php.net
-Summary: mb_at and mb_codepoint_at
+Summary: mb_check_encoding and mb_scrub
[2016-09-15 10:33 UTC] masakielastic at gmail dot com
-Summary: mb_check_encoding and mb_scrub
+Summary: str_check_encoding and str_scrub
[2016-09-15 10:33 UTC] masakielastic at gmail dot com
[2016-09-15 10:43 UTC] nikic@php.net
[2016-09-19 21:25 UTC] masakielastic at gmail dot com
[2017-01-08 17:23 UTC] krakjoe@php.net
-Status: Open
+Status: Wont fix
[2017-01-08 17:23 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 23:00:01 2025 UTC |
Description: ------------ htmlspecialchars have an ability to check character encoding and replace ill-formed byte sequences (ENT_SUBSTITUTE) since PHP 5.4. The ability is useful for not only escaping special chars but general. Mbstring have same feture such as mb_check_encoding and mb_scrub (PHP 7.2 dev). bool str_check_encoding ([ string $str[,string $encoding = ini_get("default_charset") ]] ) bool str_scrub ([ string $str[,string $encoding = ini_get("default_charset") ]] )