!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/   drwxr-xr-x
Free 13.11 GB of 57.97 GB (22.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace PhpOffice\PhpSpreadsheet\Reader\Xls;

use 
PhpOffice\PhpSpreadsheet\Cell\DataValidation;

class 
DataValidationHelper
{
    
/**
     * @var array<int, string>
     */
    
private static $types = [
        
0x00 => DataValidation::TYPE_NONE,
        
0x01 => DataValidation::TYPE_WHOLE,
        
0x02 => DataValidation::TYPE_DECIMAL,
        
0x03 => DataValidation::TYPE_LIST,
        
0x04 => DataValidation::TYPE_DATE,
        
0x05 => DataValidation::TYPE_TIME,
        
0x06 => DataValidation::TYPE_TEXTLENGTH,
        
0x07 => DataValidation::TYPE_CUSTOM,
    ];

    
/**
     * @var array<int, string>
     */
    
private static $errorStyles = [
        
0x00 => DataValidation::STYLE_STOP,
        
0x01 => DataValidation::STYLE_WARNING,
        
0x02 => DataValidation::STYLE_INFORMATION,
    ];

    
/**
     * @var array<int, string>
     */
    
private static $operators = [
        
0x00 => DataValidation::OPERATOR_BETWEEN,
        
0x01 => DataValidation::OPERATOR_NOTBETWEEN,
        
0x02 => DataValidation::OPERATOR_EQUAL,
        
0x03 => DataValidation::OPERATOR_NOTEQUAL,
        
0x04 => DataValidation::OPERATOR_GREATERTHAN,
        
0x05 => DataValidation::OPERATOR_LESSTHAN,
        
0x06 => DataValidation::OPERATOR_GREATERTHANOREQUAL,
        
0x07 => DataValidation::OPERATOR_LESSTHANOREQUAL,
    ];

    public static function 
type(int $type): ?string
    
{
        if (isset(
self::$types[$type])) {
            return 
self::$types[$type];
        }

        return 
null;
    }

    public static function 
errorStyle(int $errorStyle): ?string
    
{
        if (isset(
self::$errorStyles[$errorStyle])) {
            return 
self::$errorStyles[$errorStyle];
        }

        return 
null;
    }

    public static function 
operator(int $operator): ?string
    
{
        if (isset(
self::$operators[$operator])) {
            return 
self::$operators[$operator];
        }

        return 
null;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]--