PHP » GoLang |
login |
register |
about
|
finfo_bufferfinfo::buffer(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0) finfo_buffer -- finfo::buffer — Return 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 |
more
Recently updated
more
Most requested
more
Last requests
|