How can error reporting be improved in PHP to debug issues with file uploads?

When debugging issues with file uploads in PHP, error reporting can be improved by enabling error reporting for file uploads specifically. This can be done by setting the `error_reporting` directive to include `E_ALL` and `E_STRICT` in combination with `error_reporting(E_ALL)` and `ini_set('display_errors', 1)` to display errors on the screen.

// Enable error reporting for file uploads
error_reporting(E_ALL);
ini_set('display_errors', 1);