public static function ErrorHandler::start in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/ErrorHandler.php \Zend\Stdlib\ErrorHandler::start()
Starting the error handler
Parameters
int $errorLevel:
4 calls to ErrorHandler::start()
- Glob::systemGlob in vendor/
zendframework/ zend-stdlib/ src/ Glob.php - Use the glob function provided by the system.
- Reader::detectType in vendor/
zendframework/ zend-feed/ src/ Reader/ Reader.php - Detect the feed type of the provided feed
- Reader::importFile in vendor/
zendframework/ zend-feed/ src/ Reader/ Reader.php - Imports a feed from a file located at $filename.
- StringUtils::hasPcreUnicodeSupport in vendor/
zendframework/ zend-stdlib/ src/ StringUtils.php - Is PCRE compiled with Unicode support?
File
- vendor/
zendframework/ zend-stdlib/ src/ ErrorHandler.php, line 52
Class
- ErrorHandler
- ErrorHandler that can be used to catch internal PHP errors and convert to an ErrorException instance.
Namespace
Zend\StdlibCode
public static function start($errorLevel = \E_WARNING) {
if (!static::$stack) {
set_error_handler([
get_called_class(),
'addError',
], $errorLevel);
}
static::$stack[] = null;
}