error reporting on in php
// Add these lines somewhere on top of your PHP file:
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);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);
//OR
ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL & ~E_NOTICE);// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Also in PHP:
- Allowed memory size of 536870912 bytes exhausted (tried to allocate 264245248 bytes) http://localhost:8000/createProduct
- Extra header element 'From' cannot be other than string or array. in
- Failed at the @ dev script 'node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
- count character php
- ext-dom ubuntu 20.04
- artisan migrate table
- ctrl + d in vscode in phpstorm
- base64 decode
- blade if
- check key array php
- create child theme in wordpress
- $age = 20; print ($age >= 18) ? "Adult" : "Not Adult";
- date time format year php
- array_diff php
- codage heure php
- check if after specific position has string php
- AWS HTTP error: Error creating resource: [message] fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
- "Allowed memory size of 134217728 bytes exhausted (tried to allocate 56627200 bytes)" in wamp
- array reverse sequence pp
- code cesar php
- check if a char is in a string php
- 6 digit alphanumeric random code generator php
- array get only the value without duplicate javascript
- bootstrap carousel foreach loop not working wordpressp php wp