Home
last modified time | relevance | path

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

/PHP-8.3/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.3/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.3/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.3/ext/imap/
H A Dphp_imap.c1252 zend_string *old_mailbox, *new_mailbox; in PHP_FUNCTION() local
1255 …ters(ZEND_NUM_ARGS(), "OSS", &imap_conn_obj, php_imap_ce, &old_mailbox, &new_mailbox) == FAILURE) { in PHP_FUNCTION()
1261 …if (mail_rename(imap_conn_struct->imap_stream, ZSTR_VAL(old_mailbox), ZSTR_VAL(new_mailbox)) == T)… in PHP_FUNCTION()

Completed in 19 milliseconds