What is the use of error_reporting(-1); ?

error_reporting(-1) will Report all PHP errors but error_reporting(0) will turn off all error reporting