ftruncate

  • (PHP 4, PHP 5, PHP 7)
  • Truncates a file to a given length