The regexp is taken from the PHP Manual discussion, it was written by user "busbyjon".
http://www.php.net/manual/en/function.htmlentities.php#90111
public static encodeHtml ( string $string ) : string | ||
$string | string | string to encode. |
Résultat | string |