!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/lampp/phpmyadmin/vendor/paragonie/sodium_compat/src/PHP52/   drwxr-xr-x
Free 13.54 GB of 61.93 GB (21.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

if (class_exists('SplFixedArray')) {
    return;
}

/**
 * The SplFixedArray class provides the main functionalities of array. The
 * main differences between a SplFixedArray and a normal PHP array is that
 * the SplFixedArray is of fixed length and allows only integers within
 * the range as indexes. The advantage is that it allows a faster array
 * implementation.
 */
class SplFixedArray implements IteratorArrayAccessCountable
{
    
/** @var array<int, mixed> */
    
private $internalArray = array();

    
/** @var int $size */
    
private $size 0;

    
/**
     * SplFixedArray constructor.
     * @param int $size
     */
    
public function __construct($size 0)
    {
        
$this->size $size;
        
$this->internalArray = array();
    }

    
/**
     * @return int
     */
    
public function count()
    {
        return 
count($this->internalArray);
    }

    
/**
     * @return array
     */
    
public function toArray()
    {
        
ksort($this->internalArray);
        return (array) 
$this->internalArray;
    }

    
/**
     * @param array $array
     * @param bool $save_indexes
     * @return SplFixedArray
     * @psalm-suppress MixedAssignment
     */
    
public static function fromArray(array $array$save_indexes true)
    {
        
$self = new SplFixedArray(count($array));
        if(
$save_indexes) {
            foreach(
$array as $key => $value) {
                
$self[(int) $key] = $value;
            }
        } else {
            
$i 0;
            foreach (
array_values($array) as $value) {
                
$self[$i] = $value;
                
$i++;
            }
        }
        return 
$self;
    }

    
/**
     * @return int
     */
    
public function getSize()
    {
        return 
$this->size;
    }

    
/**
     * @param int $size
     * @return bool
     */
    
public function setSize($size)
    {
        
$this->size $size;
        return 
true;
    }

    
/**
     * @param string|int $index
     * @return bool
     */
    
public function offsetExists($index)
    {
        return 
array_key_exists((int) $index$this->internalArray);
    }

    
/**
     * @param string|int $index
     * @return mixed
     */
    
public function offsetGet($index)
    {
        
/** @psalm-suppress MixedReturnStatement */
        
return $this->internalArray[(int) $index];
    }

    
/**
     * @param string|int $index
     * @param mixed $newval
     * @psalm-suppress MixedAssignment
     */
    
public function offsetSet($index$newval)
    {
        
$this->internalArray[(int) $index] = $newval;
    }

    
/**
     * @param string|int $index
     */
    
public function offsetUnset($index)
    {
        unset(
$this->internalArray[(int) $index]);
    }

    
/**
     * Rewind iterator back to the start
     * @link https://php.net/manual/en/splfixedarray.rewind.php
     * @return void
     * @since 5.3.0
     */
    
public function rewind()
    {
        
reset($this->internalArray);
    }

    
/**
     * Return current array entry
     * @link https://php.net/manual/en/splfixedarray.current.php
     * @return mixed The current element value.
     * @since 5.3.0
     */
    
public function current()
    {
        
/** @psalm-suppress MixedReturnStatement */
        
return current($this->internalArray);
    }

    
/**
     * Return current array index
     * @return int The current array index.
     */
    
public function key()
    {
        return 
key($this->internalArray);
    }

    
/**
     * @return void
     */
    
public function next()
    {
        
next($this->internalArray);
    }

    
/**
     * Check whether the array contains more elements
     * @link https://php.net/manual/en/splfixedarray.valid.php
     * @return bool true if the array contains any more elements, false otherwise.
     */
    
public function valid()
    {
        if (empty(
$this->internalArray)) {
            return 
false;
        }
        
$result next($this->internalArray) !== false;
        
prev($this->internalArray);
        return 
$result;
    }

    
/**
     * Do nothing.
     */
    
public function __wakeup()
    {
        
// NOP
    
}
}

:: 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.4744 ]--