I already use:
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
at the beginning of my code. However, the error messages are displayed directly in the output (which is a lot, so you can't find the errors well).
How do I display all the errors that occurred, after the script is done loading?