I currently have this method
Code: Select all
public static function setErrorReporting($level) {
if (!is_string($level) && !is_int($level)) {
throw new CBException('Value passed to setErrorReporting is not valid!');
return;
}
error_reporting($level);
return;
}Thanks