Searched refs:imap_fetchbody (Results 1 – 10 of 10) sorted by relevance
/PHP-7.3/ext/imap/tests/ |
H A D | imap_fetchbody_error.phpt | 2 Test imap_fetchbody() function : error conditions - incorrect number of args 9 /* Prototype :string imap_fetchbody(resource $stream_id, int $msg_no, string $section 16 * Pass an incorrect number of arguments to imap_fetchbody() to test behaviour 19 echo "*** Testing imap_fetchbody() : error conditions ***\n"; 22 //Test imap_fetchbody with one more than the expected number of arguments 31 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $options, $extra_arg) ); 33 // Testing imap_fetchbody with one less than the expected number of arguments 36 var_dump( imap_fetchbody($stream_id, $msg_no) ); 44 *** Testing imap_fetchbody() : error conditions *** 46 -- Testing imap_fetchbody() function with more than expected no. of arguments -- [all …]
|
H A D | imap_fetchbody_variation1.phpt | 2 Test imap_fetchbody() function : usage variation - diff data types as $stream_id arg 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section 16 * Pass different data types as $stream_id argument to test behaviour of imap_fetchbody() 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 88 // loop through each element of $inputs to check the behavior of imap_fetchbody() 92 var_dump( imap_fetchbody($input, $msg_no, $section) ); 98 *** Testing imap_fetchbody() : usage variations *** 102 Warning: imap_fetchbody() expects parameter 1 to be resource, int given in %s on line 85 107 Warning: imap_fetchbody() expects parameter 1 to be resource, int given in %s on line 85 112 Warning: imap_fetchbody() expects parameter 1 to be resource, int given in %s on line 85 [all …]
|
H A D | imap_fetchbody_variation2.phpt | 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 94 var_dump( imap_fetchbody($stream_id, $input, $section) ); 104 *** Testing imap_fetchbody() : usage variations *** 110 Warning: imap_fetchbody(): Bad message number in %s on line %d 118 Warning: imap_fetchbody(): Bad message number in %s on line %d 123 Warning: imap_fetchbody(): Bad message number in %s on line %d 128 Warning: imap_fetchbody(): Bad message number in %s on line %d 133 Warning: imap_fetchbody(): Bad message number in %s on line %d 138 Warning: imap_fetchbody(): Bad message number in %s on line %d 143 Warning: imap_fetchbody(): Bad message number in %s on line %d [all …]
|
H A D | imap_fetchbody_variation5.phpt | 2 Test imap_fetchbody() function : usage variation - different resources as $stream_id arg 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section 16 * Pass different resource types to imap_fetchbody() to test behaviour 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 23 var_dump(imap_fetchbody($file_pointer, 1)); 28 var_dump(imap_fetchbody($dir_handle, 1)); 33 *** Testing imap_fetchbody() : usage variations *** 38 Warning: imap_fetchbody() expects at least 3 parameters, 2 given in %s on line %d 44 Warning: imap_fetchbody() expects at least 3 parameters, 2 given in %s on line %d
|
H A D | imap_fetchbody_basic.phpt | 2 Test imap_fetchbody() function : basic functionality 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section 15 echo "*** Testing imap_fetchbody() : basic functionality ***\n"; 27 // Calling imap_fetchbody() with all possible arguments 35 var_dump( imap_fetchbody($stream_id, $msg_uid, $section, $option) ); 39 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) ); 46 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) ); 52 // Calling imap_fetchbody() with mandatory arguments 54 var_dump( imap_fetchbody($stream_id, $msg_no, $section) ); 65 *** Testing imap_fetchbody() : basic functionality ***
|
H A D | imap_fetchbody_variation6.phpt | 2 Test imap_fetchbody() function : usage variations - $msg_no arg 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section [, int $opt… 16 * to test behaviour of imap_fetchbody() 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 33 var_dump($overview = imap_fetchbody($stream_id, $msg_no, $section)); 45 *** Testing imap_fetchbody() : usage variations *** 51 Warning: imap_fetchbody(): Bad message number in %s on line %d 57 Warning: imap_fetchbody(): Bad message number in %s on line %d
|
H A D | imap_fetchbody_variation4.phpt | 2 Test imap_fetchbody() function : usage variations - FT_UID option 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section [, int $opt… 15 * Test if FT_UID is set by passing the following as $options argument to imap_fetchbody(): 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 39 if(is_string(imap_fetchbody($stream_id, $msg_uid, $section, $option))) { 54 *** Testing imap_fetchbody() : usage variations *** 72 Warning: imap_fetchbody(): invalid value for the options parameter in %s on line %d 77 Warning: imap_fetchbody(): invalid value for the options parameter in %s on line %d
|
H A D | imap_fetchbody_variation3.phpt | 2 Test imap_fetchbody() function : usage variation - diff data types as $section arg 9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section 16 * Pass different data types as $section argument to test behaviour of imap_fetchbody() 19 echo "*** Testing imap_fetchbody() : usage variations ***\n"; 90 // loop through each element of $inputs to check the behavior of imap_fetchbody() 94 var_dump( imap_fetchbody($stream_id, $msg_no, $input) ); 104 *** Testing imap_fetchbody() : usage variations *** 189 Warning: imap_fetchbody() expects parameter 3 to be string, array given in %s on line 87
|
/PHP-7.3/ext/imap/ |
H A D | php_imap.h | 131 PHP_FUNCTION(imap_fetchbody);
|
H A D | php_imap.c | 483 PHP_FE(imap_fetchbody, arginfo_imap_fetchbody) 2387 PHP_FUNCTION(imap_fetchbody) in PHP_FUNCTION() argument
|
Completed in 32 milliseconds