Skip to content

Missing Information in Manual (function error_get_last); Incorrect ArrayShape #5848

Description

@RobbieLePommie

From manual page: https://php.net/function.error-get-last

Missing: in PHP 8.5+, if the error is a "fatal error" then the return array contains "trace" (array).

Similarly, the array shape of this functions needs updating to /** @var null|array{type:int,message:string,file:string,line:int,trace?:array} $aError */ (editor throws error when checking for "trace")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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