!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/symfony/cache/Adapter/   drwxr-xr-x
Free 11.48 GB of 61.93 GB (18.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Cache\Adapter;

use 
Psr\Cache\CacheItemInterface;
use 
Symfony\Component\Cache\CacheItem;
use 
Symfony\Contracts\Cache\CacheInterface;

/**
 * @author Titouan Galopin <galopintitouan@gmail.com>
 */
class NullAdapter implements AdapterInterfaceCacheInterface
{
    private static 
$createCacheItem;

    public function 
__construct()
    {
        
self::$createCacheItem ?? self::$createCacheItem = \Closure::bind(
            static function (
$key) {
                
$item = new CacheItem();
                
$item->key $key;
                
$item->isHit false;

                return 
$item;
            },
            
null,
            
CacheItem::class
        );
    }

    
/**
     * {@inheritdoc}
     */
    
public function get(string $key, callable $callbackfloat $beta null, array &$metadata null)
    {
        
$save true;

        return 
$callback((self::$createCacheItem)($key), $save);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getItem($key)
    {
        return (
self::$createCacheItem)($key);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getItems(array $keys = [])
    {
        return 
$this->generateItems($keys);
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function hasItem($key)
    {
        return 
false;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function clear(string $prefix '')
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function deleteItem($key)
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function deleteItems(array $keys)
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function save(CacheItemInterface $item)
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function saveDeferred(CacheItemInterface $item)
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function commit()
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     */
    
public function delete(string $key): bool
    
{
        return 
$this->deleteItem($key);
    }

    private function 
generateItems(array $keys): \Generator
    
{
        
$f self::$createCacheItem;

        foreach (
$keys as $key) {
            yield 
$key => $f($key);
        }
    }
}

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