Lines Matching refs:imap_close
2 Test imap_close() function : error conditions - incorrect number of args
9 /* Prototype : bool imap_close(resource $stream_id [, int $options])
15 * Pass an incorrect number of arguments to imap_close() to test behaviour
18 echo "*** Testing imap_close() : error conditions ***\n";
22 echo "\n-- Testing imap_close() function with Zero arguments --\n";
23 var_dump( imap_close() );
25 //Test imap_close with one more than the expected number of arguments
26 echo "\n-- Testing imap_close() function with more than expected no. of arguments --\n";
30 var_dump( imap_close($stream_id, $options, $extra_arg) );
34 *** Testing imap_close() : error conditions ***
36 -- Testing imap_close() function with Zero arguments --
38 Warning: imap_close() expects at least 1 parameter, 0 given in %s on line %d
41 -- Testing imap_close() function with more than expected no. of arguments --
43 Warning: imap_close() expects at most 2 parameters, 3 given in %s on line %d