PHP Interpreter
Preferences
The PHP Interpreter preferences page allows you to set which PHP version
to use.
The PHP Interpreter
Preferences page is accessed from Window | Preferences | PHP | PHP Interpreter.

|
|

|
To configure your PHP version:
Select the PHP Version to
use. The default options are PHP 4 or PHP 5 or greater. The PHP version
chosen will affect the internal debugger, code analyzer and code completion.
See PHP Support for more on what PHP
version settings affect.
Mark the "Use ASP tags
as PHP tags" checkbox in order for Code Completion to respond to
ASP tags in the same way as it responds to PHP tags.
|
|
|
|

|
To use a different PHP Interpreter for a
specific project:
Select the link labelled
"Configure Project Specific Settings".
Select the specific project
from the list.
Another PHP Interpreter
preferences page will open.

Mark the Enable project
specific settings checkbox.
Choose your PHP version.
Click Apply.
A prompt dialog will appear
stating that a rebuild of the project must occur for the settings to take
effect.
Click Yes to rebuild the
project. Error parsing will be performed according to the PHP version
chosen.
If you click No, the rebuild will be done when PDT is
restarted.
|
|
Click OK to apply
your settings.