Function DebugFsStreamWrapper->stream_truncate
Definitions
sources/debug_fs.php
- Truncates a file to a given length.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$new_size | integer | required parameter | N/A | N/A | Cut off size |
Return
- Success status
- Type: boolean
- Set: N/A
- Range: N/A