Function DebugFsStreamWrapper->url_stat
Definitions
sources/debug_fs.php
- Gets information about a file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$path | PATH | No | No | required parameter | N/A | N/A | File path |
$flags | boolean | No | No | required parameter | N/A | N/A | Bitmask options |
Returns
- Map of status information (false: error)
- Type: ~array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Gets information about a file.
*
* @param PATH $path File path
* @param boolean $flags Bitmask options
* @return ~array Map of status information (false: error)
*/
public function url_stat(string $path, bool $flags)
* Gets information about a file.
*
* @param PATH $path File path
* @param boolean $flags Bitmask options
* @return ~array Map of status information (false: error)
*/
public function url_stat(string $path, bool $flags)