Clean display value deleting html tags
static public clean ( $value, $striptags = true, $keep_bad = 2 ) : clean | ||
$value | string: string value | |
$striptags | bool: strip all html tags | |
$keep_bad | int: 1 : neutralize tag anb content, 2 : remove tag and neutralize content | |
Résultat | clean | value |