Of the changes listed in versions.html, the items to tackle first when jumping straight from 8.0 to 8.2.35 are prioritized here by necessity (how dangerous it is to leave them) and scope (how much of the codebase they touch). Sample code / configuration examples are shown on the right of each item. If time is limited, fix P0 then P1 first; postponing P2 and P3 is unlikely to cause fatal failures. Items whose behavior changed in patch releases up to 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 (released October 22, 2026) are also included (the patch versions where the change applies are shown in the item name, e.g. "(8.4.27+/8.5.12+)").
rector rarely catch (PDO error mode change, behavior changes of the @ operator, resource-to-object type checks, etc.). Grasping these ideas before checking all 78 items will help you judge the output of the later tools correctly.check-required-items.sh: it matches your code against a checklist generated automatically from the function names and keywords of the 78 quick-reference items (43 of them required), narrowing them down to the items that actually hit. Each item has a P0–P3 priority, so you can review the report starting from P0.
./check-required-items.sh /path/to/your-project # Also check recommended (P3) items ./check-required-items.sh /path/to/your-project --include-recommended # Also show items with no hits and items without an automatic pattern ./check-required-items.sh /path/to/your-project --verbose # Also save the report as a Markdown / HTML file ./check-required-items.sh /path/to/your-project --output=report.md ./check-required-items.sh /path/to/your-project --output=report.html --include-recommended
--output, the report is also saved to a file in the given format (detected from the extension) in addition to the terminal output. In case the window closes immediately (e.g. when run by double-click), the script pauses for the Enter key when it finishes.
rector/rector has upgrade rule sets for each PHP version (Php74, Php80 … Php84) that automate most mechanical fixes, such as unparenthesized ternaries, ${var} interpolation and making nullable parameters explicit. Run Rector in dry-run mode first and fix by hand only the differences it cannot fix automatically; this saves a lot of time.display_errors = On error_reporting = E_ALL log_errors = On error_log = /var/log/php_migration_errors.log
php -m; if you use extensions removed from the core bundle in 8.0, such as xmlrpc, plan to reinstall them via PECL.We recommend addressing every item in order starting from P0, rather than skipping by priority.
The roughly 23 items above are a selection of "especially high-impact or easy to miss" changes. This table lists every item in versions.html, including ones that are low priority on their own such as compact(). If your code does not use the function or syntax in question, no action is needed.
* P0–P3 is a rough guide determined automatically from keywords in each item's (Japanese) description. The actual risk depends on how your code uses the feature, so treat it as a reference only. We recommend addressing every item starting from P0.
| # | Ver | Priority | Type | Feature / function | Details |
|---|