Lines Matching refs:quotemeta
2 Test quotemeta() function : error conditions
6 /* Prototype : string quotemeta ( string $str )
11 echo "*** Testing quotemeta() : error conditions ***\n";
13 echo "\n-- Testing quotemeta() function with no arguments --\n";
14 var_dump( quotemeta());
16 echo "\n-- Testing quotemeta() function with more than expected no. of arguments --\n";
18 var_dump(quotemeta("How are you ?", $extra_arg));
23 *** Testing quotemeta() : error conditions ***
25 -- Testing quotemeta() function with no arguments --
27 Warning: quotemeta() expects exactly 1 parameter, 0 given in %s on line %d
30 -- Testing quotemeta() function with more than expected no. of arguments --
32 Warning: quotemeta() expects exactly 1 parameter, 2 given in %s on line %d