php error reporting all
snippet in php

php error reporting all

user5009

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

php error reporting all

user2603

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

php error reporting all

user8767

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
//OR
ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL & ~E_NOTICE);

php error reporting all

user2123

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

php error reporting all

user3157

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

php error reporting all

user299

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