How to disable errors in PHP?

It's simple. Just in the begging of your PHP file add this line:

error_reporting(0);