1
0
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:
Felipe Pena
2009-02-15 16:03:49 +00:00
parent c243cd8610
commit 69084a71a6
+1 -1
View File
@@ -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");
}