Name
quotemeta
Synopsis
$quoted_string = quotemeta($string);
Returns string
with all special characters escaped
so that it is safe to use within a regular expression.
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.