Skip to content

Commit

Permalink
added PHP 5.3 error types
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosdsanchez authored and mikeho committed Jun 23, 2010
1 parent e649b81 commit ab30769
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion includes/qcodo/_core/framework/QErrorHandler.class.php
Expand Up @@ -229,6 +229,15 @@ public static function HandleError($intErrorNumber, $strErrorString, $strErrorFi
case E_USER_NOTICE:
QErrorHandler::$ObjectType = 'E_USER_NOTICE';
break;
case E_DEPRECATED:
QErrorHandler::$ObjectType = 'E_DEPRECATED';
break;
case E_USER_DEPRECATED:
QErrorHandler::$ObjectType = 'E_USER_DEPRECATED';
break;
case E_RECOVERABLE_ERROR:
QErrorHandler::$ObjectType = 'E_RECOVERABLE_ERROR';
break;
default:
QErrorHandler::$ObjectType = 'Unknown';
break;
Expand Down Expand Up @@ -294,4 +303,4 @@ public function __construct($strLabel, $strContents, $blnMultiLine) {
$this->MultiLine = $blnMultiLine;
}
}
?>
?>

0 comments on commit ab30769

Please sign in to comment.