Function __global->push_suppress_error_death

Definitions

sources/global2.php

  • Add new suppress error death setting. Whether error display is suppressed.Suppressed errors will always be logged and be shown depending on error_handling_* config (unlike with '@'), they just don't cause a fatal exit.So we use this function over '@' when an error is real and wants logging/possibly-showing.
  • 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 suppress error death setting. Whether error display is suppressed.Suppressed errors will always be logged and be shown depending on error_handling_* config (unlike with '@'), they just don't cause a fatal exit.So we use this function over '@' when an error is real and wants logging/possibly-showing.
 *
 * @param  boolean $setting New setting
 */

function push_suppress_error_death(bool $setting)
 

sources/minikernel.php

  • Add new suppress error death setting. Whether error display is suppressed.Suppressed errors will always be logged and be shown depending on error_handling_* config (unlike with '@'), they just don't cause a fatal exit.So we use this function over '@' when an error is real and wants logging/possibly-showing.
  • 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 suppress error death setting. Whether error display is suppressed.Suppressed errors will always be logged and be shown depending on error_handling_* config (unlike with '@'), they just don't cause a fatal exit.So we use this function over '@' when an error is real and wants logging/possibly-showing.
 *
 * @param  boolean $setting New setting
 */

function push_suppress_error_death(bool $setting)