Skip to content
Psalm
Documentation
UndefinedGlobalVariable
Type to start searching
GitHub
Documentation
GitHub
Documentation Home
Running Psalm
Running Psalm
Installation
Configuration
Plugins
Plugins
Using plugins
Authoring plugins
How Psalm represents types
Command line usage
IDE support
Handling errors
Handling errors
Dealing with code issues
Issue Types
Checking non-PHP files
Annotating types
Annotating types
Using Type Annotations
Union Types
Atomic Type Reference
Intersection Types
Other annotations
Other annotations
Supported Annotations
Template Annotations
Assert Annotations
Manipulating code
Manipulating code
Fixing code with Psalter
Refactoring code
Security analysis
Security analysis
Introduction
Custom taint sources
Custom taint sinks
Avoiding false-positives
Contributing
UndefinedGlobalVariable
Emitted when referencing a variable that doesn't exist
<?php
echo
$a
;