Function __global->push_lax_comcode

Definitions

sources/comcode.php

  • Add new lax Comcode setting. Set whether the lax Comcode parser should be used, which is important for any Comcode not being interactively added (i.e. existing Comcode should not cause errors, even if it is poor quality).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$setting boolean No No required parameter N/A N/A New setting

Preview

Code (PHP)

/**
 * Add new lax Comcode setting. Set whether the lax Comcode parser should be used, which is important for any Comcode not being interactively added (i.e. existing Comcode should not cause errors, even if it is poor quality).
 *
 * @param  boolean $setting New setting
 */

function push_lax_comcode(bool $setting)