!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/guzzle/guzzle/guzzle/src/Guzzle/Http/Message/Header/   drwxr-xr-x
Free 13.8 GB of 61.93 GB (22.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HeaderCollection.php (2.06 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Guzzle\Http\Message\Header;

use 
Guzzle\Common\Collection;
use 
Guzzle\Common\ToArrayInterface;

/**
 * Provides a case-insensitive collection of headers
 */
class HeaderCollection implements \IteratorAggregate, \Countable, \ArrayAccessToArrayInterface
{
    
/** @var array */
    
protected $headers;

    public function 
__construct($headers = array())
    {
        
$this->headers $headers;
    }

    public function 
__clone()
    {
        foreach (
$this->headers as &$header) {
            
$header = clone $header;
        }
    }

    
/**
     * Clears the header collection
     */
    
public function clear()
    {
        
$this->headers = array();
    }

    
/**
     * Set a header on the collection
     *
     * @param HeaderInterface $header Header to add
     *
     * @return self
     */
    
public function add(HeaderInterface $header)
    {
        
$this->headers[strtolower($header->getName())] = $header;

        return 
$this;
    }

    
/**
     * Get an array of header objects
     *
     * @return array
     */
    
public function getAll()
    {
        return 
$this->headers;
    }

    
/**
     * Alias of offsetGet
     */
    
public function get($key)
    {
        return 
$this->offsetGet($key);
    }

    public function 
count()
    {
        return 
count($this->headers);
    }

    public function 
offsetExists($offset)
    {
        return isset(
$this->headers[strtolower($offset)]);
    }

    public function 
offsetGet($offset)
    {
        
$l strtolower($offset);

        return isset(
$this->headers[$l]) ? $this->headers[$l] : null;
    }

    public function 
offsetSet($offset$value)
    {
        
$this->add($value);
    }

    public function 
offsetUnset($offset)
    {
        unset(
$this->headers[strtolower($offset)]);
    }

    public function 
getIterator()
    {
        return new \
ArrayIterator($this->headers);
    }

    public function 
toArray()
    {
        
$result = array();
        foreach (
$this->headers as $header) {
            
$result[$header->getName()] = $header->toArray();
        }

        return 
$result;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4819 ]--