Home
last modified time | relevance | path

Searched refs:imap_close (Results 1 – 25 of 41) sorted by relevance

12

/PHP-5.5/ext/imap/tests/
H A Dimap_close_error.phpt2 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 Dimap_close_variation1.phpt2 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 ***
97 Warning: imap_close() expects parameter 1 to be resource, integer given in %simap_close_variation1.…
117 Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.p…
142 Warning: imap_close() expects parameter 1 to be resource, null given in %simap_close_variation1.php…
[all …]
H A Dimap_close_basic.phpt2 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 Dimap_close_variation4.phpt2 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 Dimap_close_variation2.phpt2 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 Dimap_close_variation3.phpt2 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 Dimap_undelete_basic.phpt19 imap_close($stream_id);
H A Dskipif.inc15 imap_close($mbox);
H A Dclean.inc24 imap_close($imap_stream, CL_EXPUNGE);
H A Dimap_headerinfo_error.phpt24 imap_close($stream_id);
H A Dimap_undelete_error.phpt24 imap_close($stream_id);
H A Dimap_mail_copy_basic.phpt32 imap_close($imap_stream);
H A Dimap_mail_move_basic.phpt32 imap_close($imap_stream);
H A Dimap_list_basic.phpt31 imap_close($stream_id);
H A Dimap_body_basic.phpt33 imap_close($imap_stream);
H A Dimap_lsub_basic.phpt39 imap_close($stream_id);
H A Dimap_mail_copy.phpt32 imap_close($stream_id);
H A Dimap_mail_move.phpt32 imap_close($stream_id);
H A Dimap_body.phpt28 imap_close($stream_id);
H A Dimap_getsubscribed_basic.phpt39 imap_close($stream_id);
H A Dimap_savebody_basic.phpt37 imap_close($stream_id);
H A Dimap_fetchheader_error.phpt34 imap_close($stream_id);
H A Dimap_renamemailbox_basic.phpt43 imap_close($stream_id);
H A Dimap_fetchstructure_basic.phpt39 imap_close($stream_id);
/PHP-5.5/ext/standard/tests/mail/
H A Dmail_skipif.inc25 imap_close($mbox);

Completed in 25 milliseconds

12