Is a parse error an EXAMPLE of an error that OCCURS BEFORE THE SCRIPT IS EXECUTED?
https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
Although display_errors may be set at runtime (with ini_set()), it won't have any effect if the script has fatal errors. This is because the desired runtime action does not get executed.
https://www.php.net/manual/en/function.set-error-handler.php
If errors occur before the script is executed (e.g. on file uploads) the custom error handler cannot be called since it is not registered at that time.
My doubt is because in 2 cases PHP mentions the term "before executing".