PHP » GoLang |
login |
register |
about
|
GoLang SplFileObject::ftruncate
request it (223)
GoLang replacement for PHP's SplFileObject::ftruncate
[edit | history]
SplFileObject::ftruncate(PHP 5 >= 5.1.0, PHP 7) SplFileObject::ftruncate — Truncates the file to a given length Description
public bool SplFileObject::ftruncate
( int
$size
)
Truncates the file to Parameters
Return Values
Returns Examples
Example #1 SplFileObject::ftruncate() example
<?php The above example will output something similar to: Hello |
more
Recently updated
more
Most requested
more
Last requests
|