Lines Matching refs:eregi
2 Test eregi() function : error conditions - wrong number of args
5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
15 echo "*** Testing eregi() : error conditions ***\n";
18 //Test eregi with one more than the expected number of arguments
19 echo "\n-- Testing eregi() function with more than expected no. of arguments --\n";
24 var_dump( eregi($pattern, $string, $registers, $extra_arg) );
26 // Testing eregi with one less than the expected number of arguments
27 echo "\n-- Testing eregi() function with less than expected no. of arguments --\n";
29 var_dump( eregi($pattern) );
34 *** Testing eregi() : error conditions ***
36 -- Testing eregi() function with more than expected no. of arguments --
38 Deprecated: Function eregi() is deprecated in %s on line %d
40 Warning: eregi() expects at most 3 parameters, 4 given in %s on line %d
43 -- Testing eregi() function with less than expected no. of arguments --
45 Deprecated: Function eregi() is deprecated in %s on line %d
47 Warning: eregi() expects at least 2 parameters, 1 given in %s on line %d