Searched refs:imap_fetchheader (Results 1 – 9 of 9) sorted by relevance
/PHP-7.4/ext/imap/tests/ |
H A D | imap_fetchheader_error.phpt | 2 Test imap_fetchheader() function : error conditions - incorrect number of args 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 15 * Pass an incorrect number of arguments to imap_fetchheader() to test behaviour 18 echo "*** Testing imap_fetchheader() : error conditions ***\n"; 21 //Test imap_fetchheader with one more than the expected number of arguments 28 var_dump( imap_fetchheader($stream_id, $msg_no, $options, $extra_arg) ); 30 // Testing imap_fetchheader with one less than the expected number of arguments 32 var_dump( imap_fetchheader($stream_id) ); 38 *** Testing imap_fetchheader() : error conditions *** 40 -- Testing imap_fetchheader() function with more than expected no. of arguments -- [all …]
|
H A D | imap_fetchheader_variation4.phpt | 2 Test imap_fetchheader() function : usage variations - diff resource types as $stream_id 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 15 * Pass different types of resources to imap_fetchheader() to test behaviour 18 echo "*** Testing imap_fetchheader() : usage variations ***\n"; 22 var_dump(imap_fetchheader($file_pointer, 1)); 27 var_dump(imap_fetchheader($dir_handle, 1)); 32 *** Testing imap_fetchheader() : usage variations *** 37 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d 43 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d
|
H A D | imap_fetchheader_basic.phpt | 2 Test imap_fetchheader() function : basic function 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 14 echo "*** Testing imap_fetchheader() : basic functionality ***\n"; 23 // Calling imap_fetchheader() with all possible arguments 29 var_dump(imap_fetchheader($stream_id, $msg_uid, $option)); 31 var_dump(imap_fetchheader($stream_id, $msg_no, $option)); 35 // Calling imap_fetchheader() with mandatory arguments 37 var_dump( imap_fetchheader($stream_id, $msg_no) ); 45 *** Testing imap_fetchheader() : basic functionality ***
|
H A D | imap_fetchheader_variation3.phpt | 2 Test imap_fetchheader() function : usage variations - FT_UID option 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 15 * Test if FT_UID is set by passing the following as $options argument to imap_fetchheader(): 20 echo "*** Testing imap_fetchheader() : usage variations ***\n"; 38 if(is_string(imap_fetchheader($stream_id, $msg_uid, $option))) { 52 *** Testing imap_fetchheader() : usage variations *** 70 Warning: imap_fetchheader(): invalid value for the options parameter in %s on line %d 75 Warning: imap_fetchheader(): invalid value for the options parameter in %s on line %d
|
H A D | imap_fetchheader_variation5.phpt | 2 Test imap_fetchheader() function : usage variations - $msg_no argument 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 16 * to test behaviour of imap_fetchheader() 19 echo "*** Testing imap_fetchheader() : usage variations ***\n"; 31 var_dump($overview = imap_fetchheader($stream_id, $msg_no)); 46 *** Testing imap_fetchheader() : usage variations *** 52 Warning: imap_fetchheader(): Bad message number in %s on line %d 58 Warning: imap_fetchheader(): Bad message number in %s on line %d
|
/PHP-7.4/ext/standard/tests/mail/ |
H A D | bug80706.phpt | 34 $header = imap_fetchheader($imap_stream, $i);
|
H A D | bug80751.phpt | 34 $header = imap_fetchheader($imap_stream, $i);
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.h | 161 PHP_FUNCTION(imap_fetchheader);
|
H A D | php_imap.c | 486 PHP_FE(imap_fetchheader, arginfo_imap_fetchheader) 3235 PHP_FUNCTION(imap_fetchheader) in PHP_FUNCTION() argument
|
Completed in 23 milliseconds