FastErr class, the smart Err class - BSD License

Dan Nuggetsman c2b07122d3 Update README.md 8 months ago
LICENSE 9c3ae41b96 Update LICENSE 5 years ago
README.md c2b07122d3 Update README.md 8 months ago
class.fasterr.inc aa3c5a6aef Fixed bug on $errStack missing 5 years ago

README.md

FastErr

FastErr class

@package OpenGallery http://github.com/par7133
@author Daniele Bonini code@gaox.io
@version 1.0
@phpver 5.6 to 7.3
@access public
@note You have to declare in your "config.inc" file - or whatever file you
use for the purpose, the following global constants:
define('APP_NAME', "YOUR_APP_NAME");
define('DEBUG', "true|false");

This class makes use of the global function isset1, declared in this way:

function isset1(&$var, $default=false) {
if (isset($var))

 return $var;     

} else {

 return $default;     

}
}