Function __global->fpassthru

Definitions

sources_custom/phpstub.php

  • Output all remaining data on a file pointer.Call cms_ob_end_clean() first, else too much memory will be used.
  • 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 number of characters that got read (false: error)
  • Type: ~integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Output all remaining data on a file pointer.Call cms_ob_end_clean() first, else too much memory will be used.
 *
 * @param  resource $handle The file handle
 * @return ~integer The number of characters that got read (false: error)
 */

function fpassthru($handle)