Searched refs:imap_fetchheader (Results 1 – 9 of 9) sorted by relevance
/PHP-5.5/ext/imap/tests/ |
H A D | imap_fetchheader_error.phpt | 2 Test imap_fetchheader() function : error conditions - incorrect number of args 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 -- 42 Warning: imap_fetchheader() expects at most 3 parameters, 4 given in %s on line %d [all …]
|
H A D | imap_fetchheader_variation1.phpt | 2 Test imap_fetchheader() function : usage variations - diff data types as $stream_id arg 9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) 15 * Pass different data types as $stream_id argument to test behaviour of imap_fetchheader() 18 echo "*** Testing imap_fetchheader() : usage variations ***\n"; 99 // loop through each element of $inputs to check the behavior of imap_fetchheader() 103 var_dump( imap_fetchheader($input, $msg_no) ); 109 *** Testing imap_fetchheader() : usage variations *** 158 Warning: imap_fetchheader() expects parameter 1 to be resource, null given in %s on line %d 163 Warning: imap_fetchheader() expects parameter 1 to be resource, null given in %s on line %d 238 Warning: imap_fetchheader() expects parameter 1 to be resource, null given in %s on line %d [all …]
|
H A D | imap_fetchheader_variation2.phpt | 18 echo "*** Testing imap_fetchheader() : usage variations ***\n"; 106 var_dump( imap_fetchheader($stream_id, $input) ); 119 *** Testing imap_fetchheader() : usage variations *** 125 Warning: imap_fetchheader(): Bad message number in %s on line %d 139 Warning: imap_fetchheader(): Bad message number in %s on line %d 144 Warning: imap_fetchheader(): Bad message number in %s on line %d 149 Warning: imap_fetchheader(): Bad message number in %s on line %d 154 Warning: imap_fetchheader(): Bad message number in %s on line %d 159 Warning: imap_fetchheader(): Bad message number in %s on line %d 164 Warning: imap_fetchheader(): Bad message number in %s on line %d [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-5.5/ext/imap/ |
H A D | php_imap.h | 146 PHP_FUNCTION(imap_fetchheader);
|
H A D | php_imap.c | 487 PHP_FE(imap_fetchheader, arginfo_imap_fetchheader) 3149 PHP_FUNCTION(imap_fetchheader) in PHP_FUNCTION() argument
|
Completed in 22 milliseconds