mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
- Supressing error message for SKIPIF check works as expected
This commit is contained in:
@@ -8,7 +8,7 @@ $password = 'p4ssw0rd';
|
||||
$options = OP_HALFOPEN; // this should be enough to verify server present
|
||||
$retries = 0; // dont retry connect on failure
|
||||
|
||||
$mbox = imap_open($mailbox, $username, $password, $options, $retries);
|
||||
$mbox = @imap_open($mailbox, $username, $password, $options, $retries);
|
||||
if (!$mbox) {
|
||||
die("skip could not connect to mailbox $mailbox");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user