function undefinedVariableExample() {
    echo $undefinedVar; // Causes an error
}