cvs: phpdoc /en/reference/imap/functions imap-fetch-overview.xml

From: Date: Thu, 15 Mar 2007 09:32:46 +0000
Subject: cvs: phpdoc /en/reference/imap/functions imap-fetch-overview.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969375777@lists.php.net to get a copy of this message
rquadling Thu Mar 15 09:32:46 2007 UTC Modified files: /phpdoc/en/reference/imap/functions imap-fetch-overview.xml Log: => should be as. Fixes bug#40807 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-fetch-overview.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-fetch-overview.xml diff -u phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.13 phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.14 --- phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.13 Mon Jan 15 00:54:40 2007 +++ phpdoc/en/reference/imap/functions/imap-fetch-overview.xml Thu Mar 15 09:32:46 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry id="function.imap-fetch-overview"> <refnamediv> <refname>imap_fetch_overview</refname> @@ -152,7 +152,7 @@ // Fetch an overview for all messages in INBOX $result = imap_fetch_overview($mbox,"1:{$MC->Nmsgs}",0); -foreach ($result => $overview) { +foreach ($result as $overview) { echo "#{$overview->msgno} ({$overview->date}) - From: {$overview->from} {$overview->subject}\n"; }

« previous php.doc (#969375777) next »