Function __global->_xhtml_error

Definitions

sources/webstandards.php

  • Get some general debugging information for an identified XHTML error.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$error string No No required parameter N/A N/A The error that occurred
$param_a string No No Blank (empty string) N/A N/A The first parameter of the error
$param_b string No No Blank (empty string) N/A N/A The second parameter of the error
$param_c string No No Blank (empty string) N/A N/A The third parameter of the error
$raw boolean No No False N/A N/A Whether to not do a lang lookup
$rel_pos integer No No 0 N/A N/A Offset position

Returns

  • A map of the error information
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get some general debugging information for an identified XHTML error.
 *
 * @param  string $error The error that occurred
 * @param  string $param_a The first parameter of the error
 * @param  string $param_b The second parameter of the error
 * @param  string $param_c The third parameter of the error
 * @param  boolean $raw Whether to not do a lang lookup
 * @param  integer $rel_pos Offset position
 * @return array A map of the error information
 */

function _xhtml_error(string $error, string $param_a = '', string $param_b = '', string $param_c = '', bool $raw = false, int $rel_pos = 0) : array