!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/laravel-crm/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/   drwxrwxrwx
Free 13.19 GB of 57.97 GB (22.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Int_.php (2.45 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);

namespace 
PhpParser\Node\Scalar;

use 
PhpParser\Error;
use 
PhpParser\Node\Scalar;

class 
Int_ extends Scalar {
    
/* For use in "kind" attribute */
    
public const KIND_BIN 2;
    public const 
KIND_OCT 8;
    public const 
KIND_DEC 10;
    public const 
KIND_HEX 16;

    
/** @var int Number value */
    
public int $value;

    
/**
     * Constructs an integer number scalar node.
     *
     * @param int $value Value of the number
     * @param array<string, mixed> $attributes Additional attributes
     */
    
public function __construct(int $value, array $attributes = []) {
        
$this->attributes $attributes;
        
$this->value $value;
    }

    public function 
getSubNodeNames(): array {
        return [
'value'];
    }

    
/**
     * Constructs an Int node from a string number literal.
     *
     * @param string $str String number literal (decimal, octal, hex or binary)
     * @param array<string, mixed> $attributes Additional attributes
     * @param bool $allowInvalidOctal Whether to allow invalid octal numbers (PHP 5)
     *
     * @return Int_ The constructed LNumber, including kind attribute
     */
    
public static function fromString(string $str, array $attributes = [], bool $allowInvalidOctal false): Int_ {
        
$attributes['rawValue'] = $str;

        
$str str_replace('_'''$str);

        if (
'0' !== $str[0] || '0' === $str) {
            
$attributes['kind'] = Int_::KIND_DEC;
            return new 
Int_((int) $str$attributes);
        }

        if (
'x' === $str[1] || 'X' === $str[1]) {
            
$attributes['kind'] = Int_::KIND_HEX;
            return new 
Int_(hexdec($str), $attributes);
        }

        if (
'b' === $str[1] || 'B' === $str[1]) {
            
$attributes['kind'] = Int_::KIND_BIN;
            return new 
Int_(bindec($str), $attributes);
        }

        if (!
$allowInvalidOctal && strpbrk($str'89')) {
            throw new 
Error('Invalid numeric literal'$attributes);
        }

        
// Strip optional explicit octal prefix.
        
if ('o' === $str[1] || 'O' === $str[1]) {
            
$str substr($str2);
        }

        
// use intval instead of octdec to get proper cutting behavior with malformed numbers
        
$attributes['kind'] = Int_::KIND_OCT;
        return new 
Int_(intval($str8), $attributes);
    }

    public function 
getType(): string {
        return 
'Scalar_Int';
    }
}

// @deprecated compatibility alias
class_alias(Int_::class, LNumber::class);

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