streamWrapper::stream_truncate
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
streamWrapper::stream_truncate — Truncate stream
Description
Will respond to truncation, e.g., through ftruncate().
Parameters
new_sizeThe new size.
See Also
- ftruncate() - Truncates a file to a given length
↑ and ↓ to navigate • Enter to select • Esc to close • / to open