Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
org
bovigo
vfs
content
FileContent
truncate
org\bovigo\vfs\content\FileContent::truncate PHP Method
FileContent Interface Documentation
显示文件
Open project: mikey179/vfsstream
truncate()
public
method
Truncates a file to a given length
public
truncate
(
integer
$size
) :
boolean
$size
integer
length to truncate file to
return
boolean
public function truncate($size);
FileContent
content
eof
read
seek
size
truncate
write