Lines Matching refs:syslog
2 Test syslog() function : error conditions
5 /* Prototype : bool syslog(int priority, string message)
7 * Source code: ext/standard/syslog.c
11 echo "*** Testing syslog() : error conditions ***\n";
14 //Test syslog with one more than the expected number of arguments
15 echo "\n-- Testing syslog() function with more than expected no. of arguments --\n";
19 var_dump( syslog($priority, $message, $extra_arg) );
21 // Testing syslog with one less than the expected number of arguments
22 echo "\n-- Testing syslog() function with less than expected no. of arguments --\n";
24 var_dump( syslog($priority) );
29 *** Testing syslog() : error conditions ***
31 -- Testing syslog() function with more than expected no. of arguments --
33 Warning: syslog() expects exactly 2 parameters, 3 given in %s on line %d
36 -- Testing syslog() function with less than expected no. of arguments --
38 Warning: syslog() expects exactly 2 parameters, 1 given in %s on line %d