!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/   drwxr-xr-x
Free 117.42 GB of 200.55 GB (58.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 Copyright (c) 2009 hamcrest.org
 */
use Hamcrest\Description;
use 
Hamcrest\Matcher;
use 
Hamcrest\TypeSafeMatcher;
use 
Hamcrest\Util;

/**
 * Matches if an array contains an item satisfying a nested matcher.
 */
class IsArrayContaining extends TypeSafeMatcher
{

    private 
$_elementMatcher;

    public function 
__construct(Matcher $elementMatcher)
    {
        
parent::__construct(self::TYPE_ARRAY);

        
$this->_elementMatcher $elementMatcher;
    }

    protected function 
matchesSafely($array)
    {
        foreach (
$array as $element) {
            if (
$this->_elementMatcher->matches($element)) {
                return 
true;
            }
        }

        return 
false;
    }

    protected function 
describeMismatchSafely($arrayDescription $mismatchDescription)
    {
        
$mismatchDescription->appendText('was ')->appendValue($array);
    }

    public function 
describeTo(Description $description)
    {
        
$description
                 
->appendText('an array containing ')
                 ->
appendDescriptionOf($this->_elementMatcher)
        ;
    }

    
/**
     * Evaluates to true if any item in an array satisfies the given matcher.
     *
     * @param mixed $item as a {@link Hamcrest\Matcher} or a value.
     *
     * @return \Hamcrest\Arrays\IsArrayContaining
     * @factory hasValue
     */
    
public static function hasItemInArray($item)
    {
        return new 
self(Util::wrapValueWithIsEqual($item));
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0339 ]--