You are here : phpstringquotemeta

quotemeta() - string

Returns a version of str with a backslash character ()
   before every character that is among these: 
   .  + * ? [ ^ ] ( $ )
Parameters :
  • str - The input string.

  • Syntax

    string quotemeta
        ( string $str
       )


    Example

    . \ + * ? [ ^ ] ( $ )


    Output / Return Value


    Limitations


    Alternatives / See Also


    Reference