Skip to content

Warnings invisible #644

@mokraemer

Description

@mokraemer

Setting warnings with
@trigger_error
does not show any warnings, if an custom error handler is installed!

Since php 7.x the error handler should check for error_reporting() and the reported type.
If an @ is added to trigger_error, this disables the error_reporting for this type.

I don't see, why you add an @ before trigger_error... What is the intention to suppress here. I suggest to remove the @, so the warning is visible to the users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions