Home
last modified time | relevance | path

Searched refs:finfo_buffer (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/ext/fileinfo/tests/
H A Dfinfo_buffer_error.phpt2 Test finfo_buffer() function : error conditions
15 echo "*** Testing finfo_buffer() : error conditions ***\n";
19 //Test finfo_buffer with one more than the expected number of arguments
24 var_dump( finfo_buffer($finfo, "foobar", FILEINFO_MIME, $context, $extra_arg) );
26 // Testing finfo_buffer with one less than the expected number of arguments
29 var_dump( finfo_buffer($finfo) );
34 *** Testing finfo_buffer() : error conditions ***
36 -- Testing finfo_buffer() function with more than expected no. of arguments --
38 Warning: finfo_buffer() expects at most 4 parameters, 5 given in %s on line %d
41 -- Testing finfo_buffer() function with less than expected no. of arguments --
[all …]
H A Dfinfo_buffer_basic-mb.phpt2 Test finfo_buffer() function : basic functionality
7 /* Prototype : string finfo_buffer(resource finfo, char *string [, int options [, resource context…
29 echo "*** Testing finfo_buffer() : basic functionality ***\n";
34 var_dump( finfo_buffer( $finfo, $string, $option ) );
42 *** Testing finfo_buffer() : basic functionality ***
H A Dfinfo_buffer_basic.phpt2 Test finfo_buffer() function : basic functionality
7 /* Prototype : string finfo_buffer(resource finfo, char *string [, int options [, resource context…
29 echo "*** Testing finfo_buffer() : basic functionality ***\n";
34 var_dump( finfo_buffer( $finfo, $string, $option ) );
42 *** Testing finfo_buffer() : basic functionality ***
H A Dfinfo_buffer_variation1-mb.phpt2 Test finfo_buffer() function : basic functionality
7 /* Prototype : string finfo_buffer(resource finfo, char *string [, int options [, resource context…
29 echo "*** Testing finfo_buffer() : variation functionality with oo interface ***\n";
41 *** Testing finfo_buffer() : variation functionality with oo interface ***
H A Dfinfo_buffer_variation1.phpt2 Test finfo_buffer() function : basic functionality
7 /* Prototype : string finfo_buffer(resource finfo, char *string [, int options [, resource context…
29 echo "*** Testing finfo_buffer() : variation functionality with oo interface ***\n";
41 *** Testing finfo_buffer() : variation functionality with oo interface ***
H A Dbug68731.phpt2 Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs
11 echo finfo_buffer($finfo, $buffer);
/PHP-7.1/ext/fileinfo/
H A Dphp_fileinfo.h45 PHP_FUNCTION(finfo_buffer);
H A Dfileinfo.c169 ZEND_ME_MAPPING(buffer, finfo_buffer, arginfo_finfo_method_buffer, ZEND_ACC_PUBLIC)
204 PHP_FE(finfo_buffer, arginfo_finfo_buffer)
606 PHP_FUNCTION(finfo_buffer) in PHP_FUNCTION() argument

Completed in 15 milliseconds