strip_tags
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Strip HTML and PHP tags from a string
strip_tags
(
string $string
, array|
string
|
null $allowed_tags
=
null
):
string
$cloner
= new
VarCloner
();
$dumper
->
dump
(
$cloner
->
cloneVar
(
$s
));
return
substr
(
strip_tags
(
$html
),
1
, -
1
);
}
}
Dumper/ContextProvider/SourceContextProvider.php