preg_quote
facade/ignition
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Quote regular expression characters
<?php preg_quote
(
string $str
, ?
string $delimiter
=
null
):
string