Fix all other class code for calling former Basic class methods. Also try to replace all remaining array() calls to [] type Some docblock updates when missing or wrong set
22 lines
420 B
PHP
22 lines
420 B
PHP
<?php declare(strict_types=1);
|
|
|
|
$DEBUG_ALL_OVERRIDE = 0; // set to 1 to debug on live/remote server locations
|
|
$DEBUG_ALL = 1;
|
|
$PRINT_ALL = 1;
|
|
$DB_DEBUG = 1;
|
|
|
|
if ($DEBUG_ALL) {
|
|
error_reporting(E_ALL);
|
|
}
|
|
|
|
// sample config
|
|
require 'config.php';
|
|
echo "FILE: ".BASE.LIB."Error.Handling.php<br>";
|
|
require(BASE.LIB."Error.Handling.php");
|
|
|
|
if ($var) {
|
|
echo "OUT<br>";
|
|
}
|
|
// this wll throw an error and also write
|
|
// asdfa(09);
|