update page now
Laravel Live Japan

streamWrapper::stream_truncate

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

streamWrapper::stream_truncateストリームを丸める

説明

public streamWrapper::stream_truncate(int $new_size): bool

ftruncate() などによる丸めの際にコールされます。

パラメータ

new_size

新しいサイズ。

戻り値

成功した場合に true を、失敗した場合に false を返します。

参考

  • ftruncate() - ファイルを指定した長さに丸める

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant