name == 'Debug') { error_reporting(E_ALL); } // sample config require 'config.php'; echo "FILE: " . BASE . LIB . "Error.Handling.php
"; require(BASE . LIB . "Error.Handling.php"); if ($var) { echo "OUT
"; } // this wll throw an error and also write // asdfa(09);