UndefinedVariable

March 20, 2020 · View on GitHub

Emitted when referencing a variable that doesn't exist in a given function’s scope

<?php

function foo() {
    echo $a;
}