You're visiting the archived website and documentation of Xdebug 2, which is no longer supported. This website is temporarily available and will be discontinued on Dec 31st, 2021.
If you find Xdebug useful, please consider supporting the project.

Supported Versions and Compatibility

This page lists which historical versions of Xdebug, and with which versions of PHP they could be used.

PHP Version Support

This table lists which historical version of Xdebug to use for older PHP versions. In general, at any point when an Xdebug version is released, it will support the currently supported PHP versions.

PHP
Version
Xdebug Version
2.92.82.72.62.52.42.32.2
PHP 7.4
PHP 7.3
PHP 7.2
PHP 7.1
PHP 7.0
PHP 5.6
PHP 5.5
PHP 5.4
PHP 5.3
PHP 5.2

SupportedSecurity FixesUnsupported

Compatibility

Xdebug does work together with the Zend Opcache, albeit with reducued or crippled functionality, as Opcache optimises out information that Xdebug could use.

Xdebug does not work together with other extensions that deal with PHP's internals (DBG, APD, ioncube etc). This is due to compatibility problems with those modules.