/** * Reset profiler (for unit test usage) */ public static function reInit() { self::$startValues = array(); self::$stackLevel = 0; self::$stack = array(); self::$stackLevelMax = array(); self::$stackLog = array(); self::$uniqueCounter = 0; self::$currentPointerStack = array(); self::$_enabled = false; self::$_checkedEnabled = false; self::$_logCallStack = false; self::$_configuration = null; }