£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊǍí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶êםӼ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowЍø^d™ý½ßB7áyMä9ÜÖUã !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --TEST-- Test imap_fetchheader() function : basic function --EXTENSIONS-- imap --SKIPIF-- --FILE-- FT_UID, 'FT_INTERNAL' => FT_INTERNAL, 'FT_PREFETCHTEXT' => FT_PREFETCHTEXT); // Calling imap_fetchheader() with all possible arguments echo "\n-- All possible arguments --\n"; foreach ($options as $key => $option) { echo "-- Option is $key --\n"; if ($key == 'FT_UID') { $msg_uid = imap_uid($stream_id, $msg_no); var_dump(imap_fetchheader($stream_id, $msg_uid, $option)); } else { var_dump(imap_fetchheader($stream_id, $msg_no, $option)); } } // Calling imap_fetchheader() with mandatory arguments echo "\n-- Mandatory arguments --\n"; var_dump( imap_fetchheader($stream_id, $msg_no) ); ?> --CLEAN-- --EXPECTF-- *** Testing imap_fetchheader() : basic functionality *** Create a temporary mailbox and add 1 msgs New mailbox created -- All possible arguments -- -- Option is FT_UID -- string(%d) "From: foo@anywhere.com Subject: Test msg 1 To: %s MIME-Version: 1.0 Content-Type: %s; %s " -- Option is FT_INTERNAL -- string(%d) "From: foo@anywhere.com Subject: Test msg 1 To: %s MIME-Version: 1.0 Content-Type: %s; %s " -- Option is FT_PREFETCHTEXT -- string(%d) "From: foo@anywhere.com Subject: Test msg 1 To: %s MIME-Version: 1.0 Content-Type: %s; %s " -- Mandatory arguments -- string(%d) "From: foo@anywhere.com Subject: Test msg 1 To: %s MIME-Version: 1.0 Content-Type: %s; %s "