Home
last modified time | relevance | path

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

/PHP-5.5/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.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.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 ***
/PHP-5.5/ext/fileinfo/
H A Dphp_fileinfo.h45 PHP_FUNCTION(finfo_buffer);
H A Dfileinfo.c174 ZEND_ME_MAPPING(buffer, finfo_buffer, arginfo_finfo_method_buffer, ZEND_ACC_PUBLIC)
209 PHP_FE(finfo_buffer, arginfo_finfo_buffer)
589 PHP_FUNCTION(finfo_buffer) argument

Completed in 10 milliseconds