1 # mixed http\Message\Body::stat([string $field = NULL])
3 Stat size, atime, mtime and/or ctime.
7 * Optional string $field = NULL
8 A single stat field to retrieve.
12 * int, the requested stat field.
13 * object, stdClass instance holding all four stat fields.
18 $body = new http\Message\Body(fopen(__FILE__, "r"));
19 var_dump($body->stat(), $body->stat()->size, $body->stat("s"));
24 object(stdClass)#2 (4) {