Different use of metadata here :/.

http://www.php.net/manual/en/streamwrapper.stream-metadata.php