1.2.1216. Trigger Errors

List of situations where user errors are triggered.

PHP errors are triggered with trigger_error().

<?php
if ($divisor == 0) {
    trigger_error('Cannot divide by zero', E_USER_ERROR);
}
?>

See also trigger_error.

1.2.1216.1. Specs

Short name

Php/TriggerErrorUsage

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

error

Available in

Entreprise Edition, Community Edition, Exakat Cloud