[Debug] ErrorHandler: remove $GLOBALS from context in PHP5.3 fix #10292