• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • streamWrapper::stream_truncate()

    (PHP 5 >= 5.4.0, PHP 7)

    Truncate stream

    说明

    publicstreamWrapper::stream_truncate(int $new_size): bool

    Will respond to truncation, e.g.,throughftruncate().

    参数

    $new_size

    The new size.

    返回值

    成功时返回TRUE,或者在失败时返回FALSE

    参见