Home
last modified time | relevance | path

Searched refs:imap_fetchbody (Results 1 – 9 of 9) sorted by relevance

/PHP-8.0/ext/imap/tests/
H A Dimap_fetchbody_errors.phpt2 imap_fetchbody() errors: ValueError and Warnings
17 imap_fetchbody($imap_mail_box, -1, $section);
22 imap_fetchbody($imap_mail_box, 1, $section, -1);
28 var_dump(imap_fetchbody($imap_mail_box, 255, $section));
29 var_dump(imap_fetchbody($imap_mail_box, 255, $section, FT_UID));
42 imap_fetchbody(): Argument #2 ($message_num) must be greater than 0
43 imap_fetchbody(): Argument #4 ($flags) must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL
45 Warning: imap_fetchbody(): Bad message number in %s on line %d
48 Warning: imap_fetchbody(): UID does not exist in %s on line %d
H A Dimap_fetchbody_basic.phpt2 Test imap_fetchbody() function : basic functionality
14 echo "*** Testing imap_fetchbody() : basic functionality ***\n";
26 // Calling imap_fetchbody() with all possible arguments
34 var_dump( imap_fetchbody($stream_id, $msg_uid, $section, $option) );
38 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) );
45 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) );
51 // Calling imap_fetchbody() with mandatory arguments
53 var_dump( imap_fetchbody($stream_id, $msg_no, $section) );
64 *** Testing imap_fetchbody() : basic functionality ***
H A Dimap_fetchbody_variation6.phpt2 Test imap_fetchbody() function : usage variations - $message_num arg
11 * to test behaviour of imap_fetchbody()
14 echo "*** Testing imap_fetchbody() : usage variations ***\n";
27 var_dump(imap_fetchbody($stream_id, $message_num, $section));
39 *** Testing imap_fetchbody() : usage variations ***
44 imap_fetchbody(): Argument #2 ($message_num) must be greater than 0
48 Warning: imap_fetchbody(): Bad message number in %s on line %d
H A Dimap_fetchbody_variation4.phpt2 Test imap_fetchbody() function : usage variations - FT_UID option
10 * Test if FT_UID is set by passing the following as $flags argument to imap_fetchbody():
14 echo "*** Testing imap_fetchbody() : usage variations ***\n";
36 if(is_string(imap_fetchbody($stream_id, $msg_uid, $section, $option))) {
54 *** Testing imap_fetchbody() : usage variations ***
71 imap_fetchbody(): Argument #4 ($flags) must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL
74 imap_fetchbody(): Argument #4 ($flags) must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL
H A Dimap_fetchbody_uid.phpt2 imap_fetchbody() passing a unique ID
15 var_dump(imap_fetchbody($imap_mail_box, $uid, $section, FT_UID) === imap_fetchbody($imap_mail_box, …
H A Dimap_fetchmime_uid.phpt15 var_dump(imap_fetchbody($imap_mail_box, $uid, $section, FT_UID) === imap_fetchbody($imap_mail_box, …
/PHP-8.0/ext/imap/
H A Dphp_imap_arginfo.h353 ZEND_FUNCTION(imap_fetchbody);
438 ZEND_FE(imap_fetchbody, arginfo_imap_fetchbody)
H A Dphp_imap.stub.php54 function imap_fetchbody($imap, int $message_num, string $section, int $flags = 0): string|false {} function
H A Dphp_imap.c1937 PHP_FUNCTION(imap_fetchbody) in PHP_FUNCTION() argument

Completed in 39 milliseconds