public function setGlobals($globals = [])
    {
        $this->server = isset($globals['server']) ? array_merge($_SERVER, $globals['server']) : $_SERVER;
        $this->get    = isset($globals['get'])    ? array_merge($_GET, $globals['get'])       : $_GET;
        $this->post   = isset($globals['post'])   ? array_merge($_POST, $globals['post'])     : $_POST;
    }
public function setGlobals($globals = [])
    {
        $this->server = isset($globals['server']) ? array_merge($_SERVER, $globals['server']) : $_SERVER;
        $this->get    = isset($globals['get'])    ? array_merge($_GET, $globals['get'])       : $_GET;
        $this->post   = isset($globals['post'])   ? array_merge($_POST, $globals['post'])     : $_POST;
    }
public function setGlobals ( $ globals = [ ] ) { $ this -> server = isset ( $ globals [ 'server' ] ) ? array_merge ( $ _SERVER , $ globals [ 'server' ] ) : $ _SERVER ; $ this -> get = isset ( $ globals [ 'get' ] ) ? array_merge ( $ _GET , $ globals [ 'get' ] ) : $ _GET ; $ this -> post = isset ( $ globals [ 'post' ] ) ? array_merge ( $ _POST , $ globals [ 'post' ] ) : $ _POST ; }
Read info from the globals.

@param array $globals use to initiate globals with values.

@return void
Read info from the globals .