Function __global->feof

Definitions

sources_custom/phpstub.php

  • Tests for end-of-file on a file pointer.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$handle resource No No required parameter N/A N/A The file pointer

Returns

  • Whether the end of the file has been reached
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Tests for end-of-file on a file pointer.
 *
 * @param  resource $handle The file pointer
 * @return boolean Whether the end of the file has been reached
 */

function feof($handle) : bool