ext/core: Deprecate passing E_USER_ERROR to trigger_error() (#15308) RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_error_to_trigger_error
Fix GH-13097: Anonymous class reference in trigger_error / thrown Exception Closes GH-13153.