(PHP 5 >= 5.4.0, PHP 7, PHP 8)
streamWrapper::stream_metadata — Change stream metadata
$path
$option
$value
This method is called to set metadata on the stream. It is called when one of the following functions is called on a stream URL:
path
The file path or URL to set metadata. Note that in the case of a URL, it must be a :// delimited URL. Other URL forms are not supported.
option
One of:
STREAM_META_TOUCH
STREAM_META_OWNER_NAME
STREAM_META_OWNER
STREAM_META_GROUP_NAME
STREAM_META_GROUP
STREAM_META_ACCESS
value
If option is
Returns true on success or false on failure. If option is not implemented, false should be returned.
true
false