The Mark Occurrences feature allows you to see where a variable, method or type is referenced within the active PHP file.
To use Mark Occurrences:
All instances where the element is referenced within the file will be highlighted and annotations will be displayed in the annotation bar.
See Mark Occurrences Preferences for information on configuring your Mark Occurrences settings.