public static function removeHeader($name)
    {
        self::$headers = array_filter(self::$headers, function ($header) use ($name) {
            return strcasecmp($header[0], $name) !== 0;
        });
    }
public static function removeHeader($name)
    {
        self::$headers = array_filter(self::$headers, function ($header) use ($name) {
            return strcasecmp($header[0], $name) !== 0;
        });
    }
public static function removeHeader ( $ name ) { self :: $ headers = array_filter ( self :: $ headers , function ( $ header ) use ( $ name ) { return strcasecmp ( $ header [ 0 ] , $ name ) !== 0 ; } ) ; }
Remove registered header

@param string $name
@return void
Remove registered header