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