From 580f15d31d83265189af061c7fbee1daad5ffdbb Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Fri, 3 Sep 2004 18:43:59 +0000 Subject: [PATCH] WS and typos, removed the author feelings about the function as I just used it for a deamon and it _was_ handy also added a basic example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167944 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/imap/functions/imap-ping.xml | 31 ++++++++++++++++++++------ 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/reference/imap/functions/imap-ping.xml b/reference/imap/functions/imap-ping.xml index 014afcc852..fcd512305c 100644 --- a/reference/imap/functions/imap-ping.xml +++ b/reference/imap/functions/imap-ping.xml @@ -1,5 +1,5 @@ - + @@ -16,12 +16,29 @@ Returns &true; if the stream is still alive, &false; otherwise. - imap_ping function pings the stream to see - it is still active. It may discover new mail; this is the - preferred method for a periodic "new mail check" as well as a - "keep alive" for servers which have inactivity timeout. - (As PHP scripts do not tend to run that long, I can hardly - imagine that this function will be useful to anyone.) + imap_ping pings the stream to see if it's still + active. It may discover new mail; this is the preferred method for a + periodic "new mail check" as well as a "keep alive" for servers which + have inactivity timeout. + + + + <function>imap_ping</function> Example + + +]]> + +