MantisBT: master 13dd17b0

Author Committer Branch Timestamp Parent
dregad dregad master 2026-01-04 13:13 master 67e2863c
Affected Issues  0036812: PHP 8.4: Passing E_USER_ERROR to trigger_error() is deprecated
Changeset

New error_output() function

Extracting the code that displays the error message from our standard
error_handler() into a new function.

This is a preliminary refactoring, required to shift from our current
usage of trigger_error() with E_USER_ERROR, which has been deprecated in
PHP 8.4.

For now it just prints the Exception's message (not localized).

Issue 0036812

mod - core/error_api.php Diff File