php how to detect errors code example Example: php show error error_reporting(E_ALL); ini_set('display_errors', 1);