error reporting 0 in hph
/* Display all errors like dev */
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
/* Display PROD errors */
ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL & ~E_NOTICE);
/* OTHER SETTINGS*/
// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);
// Reporting E_NOTICE
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
// Report all errors except E_NOTICE
error_reporting(E_ALL & ~E_NOTICE);
// For PHP < 5.3
error_reporting(E_ALL ^ E_NOTICE);
// Report all PHP errors
error_reporting(E_ALL);
//or
error_reporting(-1);
//or
error_reporting(0);ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Also in PHP:
- clearview cache laravel
- acf looping through post types
- check if page is front page in wordpress
- check if substring is present in string php
- check method in laravel
- clean function in php
- debuggin native php
- array key exist
- data type php varchar
- find substring in string php
- currenturl phpü
- date math sql php
- dd laravel query
- datetime::timeformat php
- disable register on laravel
- count of string in laravel
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://D:/Program Files/Composer - PHP/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
- Y-m-d H:s:i input
- Laravel users_email_unique
- fetch visitor ip address php
- br php
- convert stdclass object to array php
- Modularizing laravel 8.0
- check for substring in php