php_stream_stat_path() examines the file or URL specified by path
and returns information such as file size, access and creation times and so on.
The return value is 0 on success, -1 on error.
For more information about the information returned, see
php_stream_statbuf.