WordPress at a glance
function is not described

getid3_lib::iconv_fallback_int_utf8() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

String.

Usage

$result = getid3_lib::iconv_fallback_int_utf8( $charval );
$charval(int) (required)
-

Code of getid3_lib::iconv_fallback_int_utf8() WP 5.7.2

<?php
public static function iconv_fallback_int_utf8($charval) {
	if ($charval < 128) {
		// 0bbbbbbb
		$newcharstring = chr($charval);
	} elseif ($charval < 2048) {
		// 110bbbbb 10bbbbbb
		$newcharstring  = chr(($charval >>   6) | 0xC0);
		$newcharstring .= chr(($charval & 0x3F) | 0x80);
	} elseif ($charval < 65536) {
		// 1110bbbb 10bbbbbb 10bbbbbb
		$newcharstring  = chr(($charval >>  12) | 0xE0);
		$newcharstring .= chr(($charval >>   6) | 0xC0);
		$newcharstring .= chr(($charval & 0x3F) | 0x80);
	} else {
		// 11110bbb 10bbbbbb 10bbbbbb 10bbbbbb
		$newcharstring  = chr(($charval >>  18) | 0xF0);
		$newcharstring .= chr(($charval >>  12) | 0xC0);
		$newcharstring .= chr(($charval >>   6) | 0xC0);
		$newcharstring .= chr(($charval & 0x3F) | 0x80);
	}
	return $newcharstring;
}