Searched refs:imap_close (Results 1 – 25 of 41) sorted by relevance
12
/PHP-7.2/ext/imap/tests/ |
H A D | imap_close_error.phpt | 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 30 var_dump( imap_close($stream_id, $options, $extra_arg) ); 34 *** Testing imap_close() : error conditions *** 36 -- Testing imap_close() function with Zero arguments -- [all …]
|
H A D | imap_close_variation1.phpt | 2 Test imap_close() function : usage variations - different data types as $stream_id arg 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 15 * Pass different data types as $stream_id argument to test behaviour of imap_close() 18 echo "*** Testing imap_close() : usage variations ***\n"; 83 // loop through each element of $inputs to check the behavior of imap_close() 87 var_dump( imap_close($input) ); 93 *** Testing imap_close() : usage variations *** 117 Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.ph… 122 Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.ph… 142 Warning: imap_close() expects parameter 1 to be resource, null given in %simap_close_variation1.php… [all …]
|
H A D | imap_close_basic.phpt | 2 Test imap_close() function : basic functionality 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 14 echo "*** Testing imap_close() : basic functionality ***\n"; 28 // Calling imap_close() with all possible arguments 30 var_dump( imap_close($stream_id, $options) ); 36 // Calling imap_close() with mandatory arguments 37 echo "\n-- Call to imap_close() with mandatory arguments --\n"; 38 var_dump( imap_close($stream_id) ); 46 *** Testing imap_close() : basic functionality *** 50 -- Call to imap_close() with all possible arguments -- [all …]
|
H A D | imap_close_variation4.phpt | 2 Test imap_close() function : usage variations - different ints as $options arg 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 15 * Pass different integers as $options arg to imap_close() to test which are 19 echo "*** Testing imap_close() : usage variations ***\n"; 27 // loop through each element of $inputs to check the behavior of imap_close() 36 var_dump( $check = imap_close($stream_id, $input) ); 38 // check that imap_close was successful, if not call imap_close and explicitly set CL_EXPUNGE 40 imap_close($stream_id, CL_EXPUNGE); 50 // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty 51 imap_close($imap_stream, CL_EXPUNGE); [all …]
|
H A D | imap_close_variation2.phpt | 2 Test imap_close() function : usage variations - different data types as $options arg 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 15 * Pass different data types as $options argument to test behaviour of imap_close() 18 echo "*** Testing imap_close() : usage variations ***\n"; 78 // loop through each element of $inputs to check the behavior of imap_close() 87 var_dump( $check = imap_close($stream_id, $input) ); 89 // check that imap_close was successful, if not call imap_close and explicitly set CL_EXPUNGE 91 imap_close($stream_id, CL_EXPUNGE); 101 // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty 102 imap_close($imap_stream, CL_EXPUNGE); [all …]
|
H A D | imap_close_variation3.phpt | 2 Test imap_close() function : usage variations - different streams 9 /* Prototype : bool imap_close(resource $stream_id [, int $options]) 15 * Pass different stream types to imap_close() to test whether it can close them 18 echo "*** Testing imap_close() : usage variations ***\n"; 22 var_dump(imap_close($file_handle)); 27 var_dump(imap_close($dir_handle)); 32 *** Testing imap_close() : usage variations *** 37 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d 44 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d
|
H A D | imap_undelete_basic.phpt | 19 imap_close($stream_id);
|
H A D | skipif.inc | 15 imap_close($mbox);
|
H A D | clean.inc | 24 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | imap_headerinfo_error.phpt | 24 imap_close($stream_id);
|
H A D | imap_undelete_error.phpt | 24 imap_close($stream_id);
|
H A D | imap_mail_copy_basic.phpt | 32 imap_close($imap_stream);
|
H A D | imap_mail_move_basic.phpt | 32 imap_close($imap_stream);
|
H A D | imap_list_basic.phpt | 31 imap_close($stream_id);
|
H A D | imap_body_basic.phpt | 33 imap_close($imap_stream);
|
H A D | imap_body.phpt | 28 imap_close($stream_id);
|
H A D | imap_lsub_basic.phpt | 39 imap_close($stream_id);
|
H A D | imap_mail_copy.phpt | 32 imap_close($stream_id);
|
H A D | imap_mail_move.phpt | 32 imap_close($stream_id);
|
H A D | imap_getsubscribed_basic.phpt | 39 imap_close($stream_id);
|
H A D | imap_savebody_basic.phpt | 37 imap_close($stream_id);
|
H A D | imap_fetchheader_error.phpt | 34 imap_close($stream_id);
|
H A D | imap_renamemailbox_basic.phpt | 43 imap_close($stream_id);
|
H A D | imap_fetchstructure_basic.phpt | 40 imap_close($stream_id);
|
/PHP-7.2/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 25 imap_close($mbox);
|
Completed in 34 milliseconds
12