Skip to content

undefined variable errors after isset checks #225

@kkmuffme

Description

@kkmuffme
if ( !isset( $hello ) ) {
    return;
}
echo $hello;

results in an undefined variable error on both lines, but it should only give an error on the first line, since if the variable passes this check it is in fact not undefined.
Afair this was working correctly in earlier versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions