Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
VCR
Util
StreamProcessor
stream_truncate
VCR\Util\StreamProcessor::stream_truncate PHP Method
StreamProcessor Class Documentation
ファイルを表示
Open project: php-vcr/php-vcr
stream_truncate()
public
method
Truncate stream.
See link:
http://www.php.net/manual/en/streamwrapper.stream-truncate.php
public
stream_truncate
(
integer
$new_size
) :
boolean
$new_size
integer
The new size.
return
boolean
Returns TRUE on success or FALSE on failure.
public function stream_truncate($new_size) { return ftruncate($this->resource, $new_size); }
StreamProcessor
__construct
appendCodeTransformer
appendFiltersToStream
detachCodeTransformer
dir_closedir
dir_opendir
dir_readdir
dir_rewinddir
intercept
isBlacklisted
isPhpFile
isWhitelisted
mkdir
normalizePath
rename
restore
rmdir
shouldProcess
stream_cast
stream_close
stream_eof
stream_flush
stream_lock
stream_metadata
stream_open
stream_read
stream_seek
stream_set_option
stream_stat
stream_tell
stream_truncate
stream_write
unlink
url_stat