strip_tags
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Strip HTML and PHP tags from a string
<?php strip_tags
(
string $string
, array|
string
|
null $allowed_tags
=
null
):
string