Convenience method for htmlspecialchars.
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Cake/basics.php
h( string|array|object $text , boolean|string $double = true , string $charset = null )
Text to wrap through htmlspecialchars. Also works with arrays, and objects.
Arrays will be mapped and have all their elements escaped. Objects will be string cast if they
||Boolean - encode existing html entities. String - character set to use when escaping.|
||Character set to use when escaping. Defaults to config value in 'App.encoding' or 'UTF-8'|
string|array|boolean|objectWrapped text, Wrapped Array or Wrapped Object.