[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ -> compat-utf8.php (summary)

(no description)

File Size: 127 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  _wp_is_valid_utf8_fallback()

Functions
Functions that are not part of a class:

_wp_is_valid_utf8_fallback( string $bytes )   X-Ref
Fallback mechanism for safely validating UTF-8 bytes.

By implementing a raw method here the code will behave in the same way on
all installed systems, regardless of what extensions are installed.

param: string $bytes String which might contain text encoded as UTF-8.
return: bool Whether the provided bytes can decode as valid UTF-8.



Generated : Tue Sep 16 08:20:04 2025 Cross-referenced by PHPXref