Home
last modified time | relevance | path

Searched refs:new_mailbox (Results 1 – 4 of 4) sorted by relevance

/PHP-8.2/ext/standard/tests/mail/
H A Dmail_include.inc20 function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = null, $msg_type = "sim…
32 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
33 if ($new_mailbox === false) {
38 echo ".. mailbox '$new_mailbox' created\n";
41 if (imap_reopen($imap_stream, $new_mailbox) === false) {
42 echo "can't re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
/PHP-8.2/ext/imap/tests/setup/
H A Dimap_include.inc64 * @param null $new_mailbox
73 &$new_mailbox = null,
85 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $simpleMessages);
90 if (imap_reopen($imap_stream, $new_mailbox) === false) {
91 throw new Exception("Can't re-open '$new_mailbox' mailbox: " . imap_last_error());
/PHP-8.2/ext/imap/tests/
H A Dimap_clearflag_full_basic.phpt19 echo "Initial msg count in new_mailbox : ". $check->Nmsgs . "\n";
54 Initial msg count in new_mailbox : 10
/PHP-8.2/ext/imap/
H A Dphp_imap.c1271 zend_string *old_mailbox, *new_mailbox; in PHP_FUNCTION() local
1274 …ters(ZEND_NUM_ARGS(), "OSS", &imap_conn_obj, php_imap_ce, &old_mailbox, &new_mailbox) == FAILURE) { in PHP_FUNCTION()
1280 …if (mail_rename(imap_conn_struct->imap_stream, ZSTR_VAL(old_mailbox), ZSTR_VAL(new_mailbox)) == T)… in PHP_FUNCTION()

Completed in 16 milliseconds