Function __global->trigger_error
Definitions
sources_custom/phpstub.php
- Generates a user-level error/warning/notice message.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $error_msg | string | No | No | required parameter | N/A | N/A | The error message |
| $error_type | integer | No | No | required parameter | N/A | N/A | The PHP error type constant |
Preview
Code (PHP)
/**
* Generates a user-level error/warning/notice message.
*
* @param string $error_msg The error message
* @param integer $error_type The PHP error type constant
*/
function trigger_error(string $error_msg, int $error_type)
* Generates a user-level error/warning/notice message.
*
* @param string $error_msg The error message
* @param integer $error_type The PHP error type constant
*/
function trigger_error(string $error_msg, int $error_type)

