What is the difference between display_errors and error_reporting?

Asked

Viewed 20 times

1

What’s the difference between display_errors and error_reporting ?

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

In fact I usually program with the display errors always 1, and I know that the reoprting error you can put several different options of error, but taking into account not only that, would have some difference between the display errors 1 and the error Reporting E_ALL ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.