Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Debug] Always ignore error_reporting value #10612

Closed
@ekaragodin

Description

@ekaragodin
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
Symfony\Component\Debug\Debug::enable();
$arr = [];
echo $arr['hello']; // throwing ContextErrorException: Notice: Undefined index

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions