| 开发者 | eliehanna |
|---|---|
| 更新时间 | 2025年10月12日 06:10 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
exec() function and limit access to PHP binaries.
How It Works
This plugin leverages PHP_CodeSniffer with the PHPCompatibility standard to perform deep static analysis of your PHP code.
Core Components:
exec() function with specific parametersexec() Function: Required to run PHPCS binary - disabled on managed hostswp-content/plugins/ directoryThis plugin helps WordPress developers check if their custom code (plugins and themes) will work with different PHP versions. It's especially useful when planning to upgrade PHP on production servers or when developing for clients with specific PHP version requirements.
Most managed hosting providers (WP Engine, Kinsta, SiteGround, etc.) disable the exec() function for security reasons. This plugin needs to run PHP commands to analyze your code, which requires this function to be enabled.
The plugin can test your code against PHP versions 7.4 through 8.4, helping you identify compatibility issues before upgrading.
Very accurate! The plugin uses the official PHPCompatibility ruleset, which is the industry standard for PHP version compatibility testing. It catches both deprecated features and breaking changes.
Yes! You can select multiple plugins and themes to scan simultaneously. The plugin processes them in batches to manage memory usage efficiently.
The plugin includes stop/resume functionality. You can cancel a long-running scan at any time and resume it later. You can also adjust batch sizes to optimize performance.
No, your files are never modified. The plugin only reads your code to analyze it. Any temporary files created during scanning are automatically cleaned up.