(PHP 5 >= 5.4.0, PHP 7)
Truncate stream
public bool streamWrapper::stream_truncate ( int $new_size )
Will respond to truncation, e.g., through ftruncate().
Parameters:
new_size
The new size.
Returns:
Returns TRUE
on success or FALSE
on failure.
See also:
Please login to continue.