public stream_open ( string $path, string $mode, integer $options, string &$openedPath ) : boolean | ||
$path | string | Specifies the URL that was passed to the original function. |
$mode | string | The mode used to open the file, as detailed for fopen(). |
$options | integer | Holds additional flags set by the streams API. It can hold one or more of the following values OR'd together. |
$openedPath | string | 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. |
return | boolean | Returns TRUE on success or FALSE on failure. |