PHP quotemeta Function
What is quotemeta Function?
Explanation
In PHP this function is used to add a () slash before the following characters "., , +, *, ?, [ ], ( $ )".
Syntax:
quotemeta(string)
In the above syntax , function specifies the string to be checked for predefined characters.
Example :
<?php
$str = "Hiox India.Our motto is (Web Our World).";
echo quotemeta($str);
?>
Result :
Hiox India.Our motto is (Web Our World).
A back slash is added to the pre defined characters "." , "(" , ")" for the above quotemeta function example .