WP | PHPUnit Version | 8.4 | 8.3 | 8.2 | 8.1 | 8.0 | 7.4 | 7.3 | 7.2 | 7.1 | 7.0 | 5.6 | 5.5 | 5.4 | 5.3 | 5.2 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6.7 | 9 | 9 | 9 | 9 | 9 | 9 | 9 | 8 | |||||||
6.6 | 9 | 9 | 9 | 9 | 9 | 9 | 8 | ||||||||
6.5 | 9 | 9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | ||||||
6.4 | 9 | 9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | ||||||
6.3 | 9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | |||||||
6.2 | 9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | 5 | ||||||
6.1 | 9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | 5 | ||||||
6.0 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | 5 | |||||||
5.9 | 9 | 9 | 9 | 9 | 8 | 7 | 6 | 5 | |||||||
5.8 | 7* | 7 | 7 | 7 | 7 | 5 | 5 | ||||||||
5.7 | 7* | 7 | 7 | 7 | 7 | 5 | 5 | ||||||||
5.6 | 7* | 7 | 7 | 7 | 7 | 5 | 5 | ||||||||
5.5 | 7 | 7 | 7 | 7 | 5 | 5 | |||||||||
5.4 | 7 | 7 | 7 | 7 | 5 | 5 | |||||||||
5.3 | 7 | 7 | 7 | 7 | 5 | 5 | |||||||||
5.2 | 7 | 7 | 7 | 5 | 5 | ||||||||||
5.1 | 7 | 7 | 7 | 6 | 4 | 4 | 4 | 4 | 3.6 | ||||||
5.0 | 6 | 6 | 6 | 6 | 4 | 4 | 4 | 4 | 3.6 | ||||||
4.9 | 6 | 6 | 6 | 4 | 4 | 4 | 4 | 3.6 | |||||||
4.8 | 6 | 6 | 4 | 4 | 4 | 4 | 3.6 | ||||||||
4.7 | 6 | 6 | 4 | 4 | 4 | 4 | 3.6 | ||||||||
4.6 | 5 | 4 | 4 | 4 | 4 | 3.6 | |||||||||
4.5 | 5 | 4 | 4 | 4 | 4 | 3.6 | |||||||||
4.4 | 5 | 4 | 4 | 4 | 4 | 3.6 | |||||||||
4.3 | 4 | 4 | 4 | 4 | 3.6 | ||||||||||
4.2 | 4 | 4 | 4 | 4 | 3.6 | ||||||||||
4.1 | 4 | 4 | 4 | 4 | 3.6 |
* The coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. test suite in these branches runs a modified version of PHPUnit 7 (which on its own is not compatible) on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 8. See #50902 for more information.
Changes to supported PHPUnit versions have been as followed:
- In WordPress 6.6: Dropped support for PHP 7.0 and 7.1 and thus PHPUnit 6 and 7.
- In WordPress 6.3: Dropped support for PHP 5.6 and thus PHPUnit 5.
- In WordPress 5.9: Added a dependency on the external PHPUnit Polyfills, which enabled support for PHPUnit 8 and 9, making it so the tests can now run on the most appropriate PHPUnit version for each PHP version.
- In WordPress 5.2: Added support for PHPUnit 7 on PHP 7.0, and PHPUnit 5 on PHP 5.6.
- In WordPress 5.1: Added support for PHPUnit 7 on PHP 7.1, 7.2, and 7.3. PHP 7.0 remains at PHPUnit 6.
- In WordPress 4.7: Added support for PHPUnit 6 on PHP 7.0 and 7.1.
- In WordPress 4.4: Added support for PHPUnit 5 was added on PHP 7.0.