Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [quotemeta]

Protect Your Website Today


PHP Manual || String Functions

(PHP 4, PHP 5, PHP 7)

quotemetaQuote meta characters

Description

quotemeta ( string $str ) : string

Returns a version of str with a backslash character (\) before every character that is among these:

. \ + * ? [ ^ ] ( $ )

Parameters

str

The input string.

Return Values

Returns the string with meta characters quoted, or FALSE if an empty string is given as str.

Notes

Note: This function is binary-safe.

See Also



PHP Manual || String Functions