Function __global->include_once

Definitions

sources_custom/phpstub.php

  • Include and evaluate the specified file, but only if it has not already been included.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$filename PATH No No required parameter N/A N/A The filename of the file to include

Returns

  • Success status or returned value
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Include and evaluate the specified file, but only if it has not already been included.
 *
 * @param  PATH $filename The filename of the file to include
 * @return mixed Success status or returned value
 */

function include_once(string $filename)