Function __global->running_script

Definitions

sources/global2.php

  • Find whether a certain script is being run to get here.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$is_this_running string No No required parameter N/A N/A Script filename (canonically we want NO .php file type suffix)

Returns

  • Whether the script is running
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a certain script is being run to get here.
 *
 * @param  string $is_this_running Script filename (canonically we want NO .php file type suffix)
 * @return boolean Whether the script is running
 */

function running_script(string $is_this_running) : bool
 

sources/minikernel.php

  • Find whether a certain script is being run to get here.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$is_this_running string No No required parameter N/A N/A Script filename (canonically we want NO .php file type suffix)

Returns

  • Whether the script is running
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a certain script is being run to get here.
 *
 * @param  string $is_this_running Script filename (canonically we want NO .php file type suffix)
 * @return boolean Whether the script is running
 */

function running_script(string $is_this_running) : bool