finfo_bufferfinfo::bufferReturn information about a string buffer DescriptionProcedural style
string finfo_buffer
( resource
$finfo
, string $string = NULL
[, int $options = FILEINFO_NONE
[, resource $context = NULL
]] )Object oriented style
public string finfo::buffer
( string
$string = NULL
[, int $options = FILEINFO_NONE
[, resource $context = NULL
]] )This function is used to get information about binary data in a string. Parameters
Return Values
Returns a textual description of the Examples
Example #1 A finfo_buffer example
<?php The above example will output something similar to: application/x-sh; charset=us-ascii See Also
|