WordPress at a glance
function is not described

getid3_lib::mb_basename() public WP 1.0

Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)

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

No Hooks.

Return

String.

Usage

$result = getid3_lib::mb_basename( $path, $suffix );
$path(string) (required)
A path.
$suffix(string)
If the name component ends in suffix this will also be cut off.

Code of getid3_lib::mb_basename() WP 5.7.2

<?php
public static function mb_basename($path, $suffix = null) {
	$splited = preg_split('#/#', rtrim($path, '/ '));
	return substr(basename('X'.$splited[count($splited) - 1], $suffix), 1);
}