Skip to content

Trying to access array offset on value of type null #83

@valzargaming

Description

@valzargaming

if (!\is_resource($this->process)) {

This line will cause a fatal error in PHP 8 because of changes in how accessing arrays is handled. if ( isset(...) ) or comparative should be done first before attempting to check attribute/property/class/value/etc.

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