wp-includes/ID3/module.audio-video.quicktime.php:3011$pascalstringstringstring public function MaybePascal2String($pascalstring) { // Pascal strings have 1 unsigned byte at the beginning saying how many chars (1-255) are in the string // Check if string actually is in this format or written incorrectly, straight string, or null-terminated string if (ord(substr($pascalstring, 0, 1)) == (strlen($pascalstring) - 1)) { return substr($pascalstring, 1); } elseif (substr($pascalstring, -1, 1) == "\x00") { // appears to be null-terminated instead of Pascal-style return substr($pascalstring, 0, -1); } return $pascalstring; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/ID3/module.audio-video.quicktime.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.