Linux 软件免费装
Banner图

Bumpcheck - PHP 8 Compatibility Check

开发者 jolovicdev
更新时间 2026年10月13日 08:29
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

deprecated php version php 8 php compatibility php upgrade

下载

1.0.0

详情介绍:

Your host is moving your site to a newer PHP version. Bumpcheck tells you which plugins and themes would stop working, before the switch. Pick a PHP version from 8.0 to 8.6 and run the scan. Each plugin and theme gets one of three results: What makes it different What it checks Removed and deprecated functions, constants and INI settings. Array offsets with curly braces. The (unset) and (real) casts. Constructors named after their class. "${var}" in strings. Missing return types on ArrayAccess, Iterator, Countable and JsonSerializable methods. Serializable without __serialize(). Parameters that are nullable only through a null default. Required parameters after optional ones. get_class() without an argument. A third argument to define(). Deprecated mb_convert_encoding() encodings. Functions of the IMAP, pspell and OCI8 extensions, which PHP 8.4 no longer ships. What it cannot check The scan reads code and does not run it. Problems that depend on values at run time are out of reach, for example passing null to a function that needs a string, or properties created on the fly (deprecated in PHP 8.2). A clean result means nothing known was found. Test on a staging copy before you switch a busy site. Bumpcheck Pro A separate add-on adds a weekly or daily scan with the result by email, CSV and JSON export, and a WP-CLI command. Details and price: getbumpcheck.com.

屏幕截图:

  • A plugin that only uses deprecated code. Code that already fails on the current PHP version is listed apart and does not count.

常见问题:

Does it change anything on my site?

No. It reads files and stores the result of the last scan. Deleting the plugin removes that result.

Does it check WordPress itself?

No. WordPress core supports the PHP versions listed on wordpress.org. Bumpcheck checks what you added: plugins, must-use plugins and themes.

A plugin shows "already true on my PHP version". What does that mean?

The code uses something that was removed in a PHP version you already run. If that code ran, it would fail today. It is almost always an old fallback branch, so it does not count as a result of the upgrade.

Is a "Ready" result a guarantee?

No. See "What it cannot check".

A plugin breaks because PHP 8.4 no longer ships the IMAP extension. Is that certain?

PHP 8.4 moved the IMAP, pspell and OCI8 extensions out of PHP. A host can still install them separately. Bumpcheck cannot see what your host will install after the upgrade, so ask your host. If the extension stays available, that plugin keeps working.

更新日志:

1.0.1 1.0.0