imap_is_open

(PHP 8 >= 8.2.1)

imap_is_openIMAP ストリームがまだ有効かを調べる

説明

imap_is_open(IMAP\Connection $imap): bool

IMAP ストリームがまだ有効かを調べます。

パラメータ

imap

IMAP\Connection クラスのインスタンス。

戻り値

ストリームがまだ有効な場合は、true を返します。 そうでない場合は、false を返します。

例1 imap_is_open() の例

<?php
$mbox
= imap_open("{imap.example.org:143}INBOX", "username", "password") or die(implode(", ", imap_errors()));
imap_is_open($mbox);
/ ...
?>

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant