July 1999
Intermediate to advanced
502 pages
19h 52m
English
truncate
$result = truncate($file, $length)
This attempts to truncate the given file to length
bytes. This is usually used to create a zero-length file. If the
operation is unsuccessful, a negative integer is returned.
Read now
Unlock full access