A blank page and "Call to undefined function mysql_connect()"
How you'll know: The whole site or app stops at the first database call.
Fix: The old mysql_* functions were removed back in PHP 7.0. The code needs moving to PDO or mysqli, and that's the moment to switch to prepared statements, which also closes the SQL injection holes old code tends to have.
each() or create_function() no longer exists
How you'll know: A fatal error on PHP 8, often inside an old library or a plugin bundled years ago.
Fix: Both were removed in PHP 8.0. Replace them with foreach loops and anonymous functions, or update the library if a newer version exists. Tools such as PHPCompatibility scan the codebase for every case at once.
Comparisons that quietly give a different answer
How you'll know: No error at all, but a login check, a discount rule or a status filter now behaves differently.
Fix: PHP 8 changed how a string is compared with a number using ==, so code that relied on the old behavior can take the other branch. Search for loose comparisons in anything that touches money or access, and switch them to strict === where the types should match.
Logs filling with deprecation notices
How you'll know: The app works, but the error log grows by thousands of lines a day after the upgrade.
Fix: PHP 8.1 deprecated passing null to many built-in functions, and 8.2 deprecated setting properties a class never declared. Nothing breaks yet, but these become errors in a later version. Fixing them now is cheaper than doing it under the next deadline.
Composer packages pinned to an old framework
How you'll know: composer.lock holds a Laravel, Symfony or CodeIgniter version that won't install on the new PHP, or there's no Composer file at all and libraries were copied in by hand.
Fix: Upgrade the framework one major version at a time, with tests around the parts the business relies on. Rector can automate a lot of the mechanical changes, but someone still has to check what it did.