You are here

public static function ErrorHandler::getNestedLevel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/ErrorHandler.php \Zend\Stdlib\ErrorHandler::getNestedLevel()

Get the current nested level

Return value

int

1 call to ErrorHandler::getNestedLevel()
ErrorHandler::started in vendor/zendframework/zend-stdlib/src/ErrorHandler.php
Check if this error handler is active

File

vendor/zendframework/zend-stdlib/src/ErrorHandler.php, line 42

Class

ErrorHandler
ErrorHandler that can be used to catch internal PHP errors and convert to an ErrorException instance.

Namespace

Zend\Stdlib

Code

public static function getNestedLevel() {
  return count(static::$stack);
}