stream_open()
stream_open(string $path, string $mode, integer $options, string $opened_path) : boolean
Opens file or URL.
Parameters
string | $path | Specifies the URL that was passed to the original function |
string | $mode | The mode used to open the file, as detailed for fopen() |
integer | $options | Holds additional flags set by the streams API |
string | $opened_path | If the path is opened successfully, and STREAM_USE_PATH is set in options, opened_path should be set to the full path of the file/resource that was actually opened |