Function __global->inform_exit
Definitions
sources/global2.php
- This is a intended to output an informational exit at the same time as terminating execution.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $text | mixed | No | No | required parameter | N/A | N/A | The error message, provided in plain-text format or as HTML via do_lang_tempcode/protect_from_escaping (string or Tempcode) |
| $support_match_key_messages | ?boolean | No | No | Null | N/A | N/A | Whether match key messages / redirects should be supported (null: detect) |
Preview
Code (PHP)
/**
* This is a intended to output an informational exit at the same time as terminating execution.
*
* @param mixed $text The error message, provided in plain-text format or as HTML via do_lang_tempcode/protect_from_escaping (string or Tempcode)
* @param ?boolean $support_match_key_messages Whether match key messages / redirects should be supported (null: detect)
*/
function inform_exit($text, ?bool $support_match_key_messages = null)
* This is a intended to output an informational exit at the same time as terminating execution.
*
* @param mixed $text The error message, provided in plain-text format or as HTML via do_lang_tempcode/protect_from_escaping (string or Tempcode)
* @param ?boolean $support_match_key_messages Whether match key messages / redirects should be supported (null: detect)
*/
function inform_exit($text, ?bool $support_match_key_messages = null)
sources/minikernel.php
- This is a less-revealing alternative to fatal_exit, that is used for user-errors/common-corruption-scenarios.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $text | mixed | No | No | required parameter | N/A | N/A | The error message |
Preview
Code (PHP)
/**
* This is a less-revealing alternative to fatal_exit, that is used for user-errors/common-corruption-scenarios.
*
* @param mixed $text The error message
*/
function inform_exit($text)
* This is a less-revealing alternative to fatal_exit, that is used for user-errors/common-corruption-scenarios.
*
* @param mixed $text The error message
*/
function inform_exit($text)

