# WordPress PHP 8.4.28 runtime sandbox lab: autoload, memory and uninstall hygiene

> Source: https://ththeme.net/runtime-lab/ | Updated: 2026-12-05 | License (data): CC BY 4.0

In an automated WebAssembly sandbox running **PHP 8.4.28 and WordPress 7.1.5** (via the official WordPress Playground CLI) on December 5, 2026, each of **1000 popular plugins and 100 themes** was extracted into a clean snapshot, activated under `E_ALL`, rendered on `GET /`, and uninstalled via `uninstall_plugin()`. Among **862 activated plugins**, **205 created custom DB tables**, **162 left orphan tables behind after uninstall**, **693 left orphan options**, and only **78 of 857 (9.1%)** actually loaded jQuery on the default homepage.

## Key facts
- Environment: PHP 8.4.28, WordPress 7.1.5, baseline autoload 50.1 KB (12 core tables), default theme twentytwentyfive
- Plugins: 862/1000 activated cleanly; 162 left orphan DB tables after uninstall; 161 cleaned 100% of tables and options
- Median activated plugin delta: +85 B autoload and +923 KB PHP peak memory on GET /
- Front-end jQuery on default homepage: 78/857 plugins (9.1%) and 58/96 themes (60.4%)
- Runtime PHP 8.4 E_DEPRECATED notices caught in 11 plugins and 2 themes (with SQLite translator notices excluded)

## Automated PHP 8.4.28 runtime lab aggregate metrics (December 5, 2026)

| Metric | Plugins | Themes |
| --- | --- | --- |
| Packages executed in sandbox | 1,000 | 100 |
| Activated cleanly | 862 (86.2%) | 96 (96.0%) |
| Homepage GET / returned HTTP 200 | 857 (85.7%) | 96 (96.0%) |
| Loaded jQuery on default homepage | 78 (9.1%) | 58 (60.4%) |
| Emitted runtime PHP 8.4 E_DEPRECATED | 11 (1.1%) | 2 (2.0%) |
| Created custom DB tables | 205 (23.8%) | n/a |
| Left orphan DB tables after uninstall | 162 (18.8%) | n/a |
| Zero orphan tables & zero orphan options | 161 (18.7%) | n/a |
| Median homepage HTML / autoload delta | +85 B autoload | 26.6 KB HTML |

## Heaviest runtime memory, autoload bloat and orphan tables

Static ZIP size alone misses runtime overhead. A small plugin can inject large serialized arrays into autoloaded `wp_options` (loaded on every single request), while a large ZIP can leave zero orphan rows on uninstall. Top observed outliers from this run:

Highest PHP peak memory delta on GET / homepage render (PHP 8.4.28, WP 7.1.5)

Largest wp_options autoload bloat added on activation (bytes above 51,323 B baseline)

Plugins leaving custom database tables behind after uninstall_plugin()

## Full plugin runtime table (n=1000)

Filter by cleanup status, autoload overhead, front-end jQuery or PHP 8.4 deprecation emissions. All deltas are relative to the clean WordPress 7.1.5 snapshot (50.1 KB autoload, 42.5 MB peak PHP memory).

(Full interactive table at https://ththeme.net/runtime-lab/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Full theme runtime table (n=100)

Each theme is switched onto the clean default WordPress 7.1.5 homepage with zero extra plugins installed. Child themes whose parent ZIP is not bundled separately are marked **Needs parent**.

(Full interactive table at https://ththeme.net/runtime-lab/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Observed PHP 8.4.28 E_DEPRECATED runtime notices (13 packages)

Unique deprecation notices captured under `error_reporting(E_ALL)` during activation and initial `GET /` render (WordPress Playground SQLite drop-in notices filtered out). Showing up to 30 packages with one sample line each:

(Full interactive table at https://ththeme.net/runtime-lab/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Activation and sandbox edge cases (25)

Packages below either failed activation or threw an error on the initial SQLite WASM render. Always verify **SQLite syntax** entries on standard MySQL/MariaDB before concluding a plugin is broken on PHP 8.4.

(Full interactive table at https://ththeme.net/runtime-lab/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Methodology, SQLite caveat and open CC BY 4.0 downloads

- **Why uninstall leftovers happen:** many popular plugins (including SEO and form builders) intentionally preserve database tables on uninstall so accidental deletions do not wipe user data, offering an opt-in "delete data on uninstall" setting inside wp-admin instead. Our count records default `uninstall_plugin()` behavior without toggling extra checkboxes.
- **SQLite vs MySQL/MariaDB:** WordPress Playground uses the official `sqlite-database-integration` plugin. Plugins relying on raw MySQL-only DDL or network loopback calls can throw sandbox-specific errors, which are clearly disclosed above.
- **Static jQuery vs runtime jQuery:** static PHP scanning shows whether a plugin registers a `jquery` dependency anywhere (often only on shortcode or admin screens). This lab checks whether `jquery.js` is actually emitted on a clean default homepage.
- **Downloads (CC BY 4.0):** [wp-runtime-plugins.csv](https://ththeme.net/data/wp-runtime-plugins.csv) · [wp-runtime-themes.csv](https://ththeme.net/data/wp-runtime-themes.csv) · [wp-runtime-lab.json](https://ththeme.net/data/wp-runtime-lab.json) · JSON API: `GET /api/runtime-lab` · MCP tool: `get_runtime_lab`.

## FAQ

### Does a plugin leaving database tables after uninstall mean it is malicious or poorly written?

Not necessarily. Many major plugins intentionally keep custom tables by default so a user who deletes and reinstalls the plugin does not lose SEO metadata, form submissions, or orders. However, agencies cleaning up unused plugins should check for orphaned tables and autoloaded options.

### Why does the runtime lab run on SQLite inside WebAssembly instead of MySQL?

WordPress Playground CLI lets us snapshot and restore an exact pristine WordPress database in milliseconds between every single package, making the entire 200-package suite deterministic and repeatable with zero leftover state. Any MySQL-specific syntax caveats are flagged separately.

### How does autoload bloat slow down a WordPress site?

WordPress loads every wp_options row flagged autoload yes/on/auto into PHP memory on every uncached page request, admin click and REST API call. Keeping total autoload under 800 KB (ideally under 250 KB) prevents memory pressure and slow database queries.

### Does PHP 8.4 peak memory in WASM equal real server RAM?

Absolute memory figures reflect WebAssembly PHP 8.4.28 executing WordPress 7.1.5 with the SQLite drop-in. Relative deltas between plugins inside the identical baseline snapshot accurately reveal which packages load heavy class trees on every request.

## Sources
- [WordPress Playground CLI Documentation](https://wordpress.github.io/wordpress-playground/developers/local-development/wp-playground-cli/)
- [PHP 8.4 Backward Incompatible Changes & Deprecations](https://www.php.net/manual/en/migration84.deprecated.php)
- [WordPress Options API & Autoload Guidance](https://make.wordpress.org/core/2024/06/18/options-api-disabling-autoload-for-large-options/)
- [Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
