original_string: public static function get($key, $default = "default") {
  		if(self::$config == array())
  			self::load();
  
  		$env = Kernel::getEnvironment();
  		$position = self::$config[$env];
  		$token = strtok($key, '.');
  		while($token !== false) {
  			$nextToken = strtok('.');
  			if(!isset($position[$token]))
  				return $default;
  
  			if($nextToken === false)
  				return $position[$token];
  
  			$position = &$position[$token];
  			$token = $nextToken;
  		}
  
  		return $default;
  	}
code: public static function get($key, $default = "default") {
  		if(self::$config == array())
  			self::load();
  
  		$env = Kernel::getEnvironment();
  		$position = self::$config[$env];
  		$token = strtok($key, '.');
  		while($token !== false) {
  			$nextToken = strtok('.');
  			if(!isset($position[$token]))
  				return $default;
  
  			if($nextToken === false)
  				return $position[$token];
  
  			$position = &$position[$token];
  			$token = $nextToken;
  		}
  
  		return $default;
  	}
code_tokens: public static function get ( $ key , $ default = "default" ) { if ( self :: $ config == array ( ) ) self :: load ( ) ; $ env = Kernel :: getEnvironment ( ) ; $ position = self :: $ config [ $ env ] ; $ token = strtok ( $ key , '.' ) ; while ( $ token !== false ) { $ nextToken = strtok ( '.' ) ; if ( ! isset ( $ position [ $ token ] ) ) return $ default ; if ( $ nextToken === false ) return $ position [ $ token ] ; $ position = & $ position [ $ token ] ; $ token = $ nextToken ; } return $ default ; }
docstring: Get a configuration entry
  @param  string $key     The configuration key to retrieve (e.g. dachi.siteName or api.twitter.publicKey)
  @param  string $default The default value to return if the key was not found
  @return mixed
docstring_tokens: Get a configuration entry