protected static function ExceptionHandler::utf8Htmlize in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/debug/ExceptionHandler.php \Symfony\Component\Debug\ExceptionHandler::utf8Htmlize()
Returns an UTF-8 and HTML encoded string.
Deprecated
since version 2.7, to be removed in 3.0.
File
- vendor/
symfony/ debug/ ExceptionHandler.php, line 432
Class
- ExceptionHandler
- ExceptionHandler converts an exception to a Response object.
Namespace
Symfony\Component\DebugCode
protected static function utf8Htmlize($str) {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.7 and will be removed in 3.0.', E_USER_DEPRECATED);
return htmlspecialchars($str, ENT_QUOTES | (PHP_VERSION_ID >= 50400 ? ENT_SUBSTITUTE : 0), 'UTF-8');
}