Fizz Labs Upgrade Scanner for PHP

Description

Check your plugins and themes before you switch to PHP 8.3 or 8.4.

Fizz Labs Upgrade Scanner for PHP reads the PHP code of every installed plugin and theme, finds functions, constants and syntax that were removed or deprecated in PHP 8.0 to 8.4, and shows you the file and line. It runs entirely on your server.

  • Know what to fix, file by file. Counts per plugin and theme, per PHP version, with the exact file:line and the php.net migration note behind every finding.
  • No data leaves your server. No external requests, no tracking, no account, no API key. The scan reads files locally and stores one report in your database.
  • Free and complete. Every feature is free: unlimited scans, CSV and JSON export, and a WP-CLI command (wp fizz-labs-upgrade-scanner-for-php scan) for agencies and CI.

Install the plugin, then go to Tools Fizz Labs Upgrade Scanner for PHP and click Scan plugins and themes.

What it checks

  • Removed in PHP 8.0: create_function(), each(), __autoload(), the (real) and (unset) casts, $php_errormsg, $str{0} offsets, money_format(), get_magic_quotes_gpc() and other removed functions.
  • Deprecated in PHP 8.1: strftime(), date_sunrise(), mhash(), FILTER_SANITIZE_STRING, Serializable without __serialize() and more.
  • Deprecated in PHP 8.2: utf8_encode(), utf8_decode() and “${var}” string interpolation.
  • Deprecated in PHP 8.3: get_class() without arguments, assert_options() and the ASSERT_* constants.
  • Deprecated in PHP 8.4: implicitly nullable parameter types, E_STRICT, trigger_error() with E_USER_ERROR, mysqli_ping(), lcg_value() and more. Functions of the IMAP, OCI8 and Pspell extensions, which moved from PHP core to PECL in 8.4.

Privacy

No data leaves your server. Fizz Labs Upgrade Scanner for PHP makes no external HTTP requests, sends no telemetry and sets no cookies. It reads plugin and theme files on your server and saves the latest report in your WordPress database (option phpups_last_report). Deleting the plugin removes that data.

Installation

  1. In wp-admin, go to Plugins Add New and search for “Fizz Labs Upgrade Scanner for PHP”, or upload the plugin zip.
  2. Activate the plugin.
  3. Go to Tools Fizz Labs Upgrade Scanner for PHP, choose PHP 8.4 or PHP 8.3, and click Scan plugins and themes.

FAQ

Does any data leave my server?

No. Fizz Labs Upgrade Scanner for PHP makes no external HTTP requests, sends no telemetry and sets no cookies. You can verify this: the plugin contains no HTTP client calls.

When does PHP 8.2 reach end of life?

PHP 8.2 receives security fixes until 2026-12-31, according to php.net’s supported versions page. PHP 8.3 is supported until 2027-12-31 and PHP 8.4 until 2028-12-31. Many hosts move sites to newer PHP versions around these dates.

Which PHP versions does it check?

PHP 8.0, 8.1, 8.2, 8.3 and 8.4 removals and deprecations. Choose 8.3 or 8.4 as the target.

Does it run or execute plugin code?

No. It tokenizes files with PHP’s built-in tokenizer and never includes or executes them.

Will it slow down my site?

Scans run only when you click Scan, in small batches (150 files or about 8 seconds per request), and only in wp-admin. Nothing runs on the front end.

What can’t it detect?

Some changes cannot be found reliably by reading code: passing null to non-nullable parameters of built-in functions (8.1), dynamic properties (8.2), unparenthesized nested ternary operators, “self::method” style callable strings, and increment or decrement of non-numeric strings. Always test on a staging site.

A finding is in code that checks the PHP version first. Is it a false positive?

Possibly. Static checks cannot see runtime conditions. Review the line.

Can I use it from the command line?

Yes, with WP-CLI:

wp fizz-labs-upgrade-scanner-for-php scan
wp fizz-labs-upgrade-scanner-for-php scan --target=8.3 --format=csv > report.csv
wp fizz-labs-upgrade-scanner-for-php scan --plugin=my-plugin --format=json

The command exits with 0 when nothing was found, 1 when there are items to review, and 2 when the scan could not run.

Who makes this plugin?

Fizz Labs Upgrade Scanner for PHP is made by Fizz Labs: https://fizzlabs.ai/

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Fizz Labs Upgrade Scanner for PHP” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.