Function __global->js_die_error

Definitions

sources/webstandards_js_lex.php

  • Make a JS error (critically).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$system string No No required parameter N/A N/A The system causing the error
$pos integer No No required parameter N/A N/A The position
$line integer No No required parameter N/A N/A The line
$message string No No required parameter N/A N/A The error
$i integer No No required parameter N/A N/A The global position

Returns

  • Always null (null: exit)
  • Type: ?boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Make a JS error (critically).
 *
 * @param  string $system The system causing the error
 * @param  integer $pos The position
 * @param  integer $line The line
 * @param  string $message The error
 * @param  integer $i The global position
 * @return ?boolean Always null (null: exit)
 */

function js_die_error(string $system, int $pos, int $line, string $message, int $i) : ?bool