Function __global->ftell

Definitions

sources_custom/phpstub.php

  • Gets file pointer read/write position.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

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

Returns

  • The offset (false: error)
  • Type: ~integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Gets file pointer read/write position.
 *
 * @param  resource $handle The file handle
 * @return ~integer The offset (false: error)
 */

function ftell($handle)