PDT automatically highlights errors and problems in your PHP script.
Errors and warnings will be displayed in the Problems view, accessed from Window | Show View | Other | General | Problems.
In addition, error icons and warning icons will be displayed in the vertical marker bar to the left of the editor window, as well as next to the relevant project in Project Explorer view (these will be indicated in the PHP project/file icons - e.g. ).
All warnings, errors and problems in open projects will be logged in the Problems view, which displays the following information:
The Problems view groups problems according to Errors, Warnings or Info.
Double-clicking on an error in the Problems view will take you to the relevant location in the Editor.
If the Problems view is not displayed, go to Window | Show View | Problems.