Can you turn off all error reporting from within a script with a single PHP function call?
No
Correct:
No
The correct answer is no. While the error_reporting function can be used to turn off all runtime error reporting, it cannot be used to silence parse-time errors, for the simple reason that they occur before the script is actually executed.