Function DebugFsStreamWrapper->stream_open

Definitions

sources/debug_fs.php

  • {{creates-file}}}}
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool
  • Flags:

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$path PATH No No required parameter N/A N/A Filename
$mode string No No required parameter N/A N/A Mode (e.g. at)
$options integer No No required parameter N/A N/A Bitmask options
&$opened_path string Yes No required parameter N/A N/A The real path will be written into here, if requested

Returns

  • Success status
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * {{creates-file}}}}
 *
 * @param  PATH $path Filename
 * @param  string $mode Mode (e.g. at)
 * @param  integer $options Bitmask options
 * @param  string $opened_path The real path will be written into here, if requested
 * @return boolean Success status
 */

public function stream_open(string $path, string $mode, int $options, string &$opened_path) : bool