From: Felipe Pena Date: Sun, 15 Feb 2009 16:03:39 +0000 (+0000) Subject: - Supressing error message for SKIPIF check works as expected X-Git-Tag: RELEASE_1_3_5~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0502920928b0cad62e168cde949ec72ae69af1f9;p=php - Supressing error message for SKIPIF check works as expected --- diff --git a/ext/imap/tests/skipif.inc b/ext/imap/tests/skipif.inc index dcfc3c1727..47bfd08e22 100644 --- a/ext/imap/tests/skipif.inc +++ b/ext/imap/tests/skipif.inc @@ -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"); }