# PHP Version Support

PDT supports PHP versions:

- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 8.5

PHP version settings affect:

- The elements displayed in the PHP Functions view.
- The options available in Content Assist.
- Debugging functionality.

PHP version settings can be configured from the following places:

- PHP Executables can be added and edited from the PHP Executables Preferences page.
- The default PHP executable used for new projects can be set in the PHP Interpreter Preferences page. Through this page you can also set the PHP version for specific projects. In addition, you can select which PHP Version should be used when creating a new PHP project by marking the Enable Project Settings checkbox in the New PHP Project dialog.

- The default PHP executable used with the debugger can be set in the Debugging Preferences page, accessed from Window | Preferences | PHP | Debug. Through this page you can also set the PHP executable used to debug specific projects. In addition, you can also configure the PHP executable used for each Debug session in the Debug configuration screen.

#### Note:

In order to minimize errors, the PHP Executable used for debugging should match the PHP version used for the project.

#### Related Links:

- PHP Interpreter Preferences
- PHP Executables Preferences
- Debugging