enable php errors
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
/* 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);display_errors = on
Also in PHP:
- codeigniter db insert return id
- Carbon\Carbon::today()->format('Y-m-d') in blade
- clear cache is not working laravel
- exception php
- date_w3c php example
- date increase 1 day
- Call to a member function diffForHumans() on null (View: C:\xampp\htdocs\basic\resources\views\dashboard.blade.php)
- date("U")
- extract the domain name from the current url in php
- date +1 day
- In Connection.php line 1262: Class 'PDO' not found
- : Allowed memory size of 268435456 bytes exhausted (tried to allocate 77155656 bytes) in /home/gergstor/public_html/seo/application/third_party/MX/Loader.php on line 373 A PHP Error was encountered Severity: Error Message: Allowed memory size of
- display datetime in php
- date plus 7 days php
- check if table exists sql php
- clear laravel response cache
- @for loop php
- - phpunit/phpunit 4.8.27 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
- echo php console
- check type of php
- check if substring matches another string php
- addslashes php
- determine with index has a value in php
- Armstrong number