$string = "Hello & world!"; $decodedString = t3lib_div::deHSCentities($string); echo $decodedString;This code would output "Hello & world!" The package library for t3lib_div is the TYPO3 CMS core library. It is used extensively throughout the TYPO3 CMS codebase to handle a variety of common tasks such as string manipulation, file handling, and HTTP requests.