!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 12.93 GB of 57.97 GB (22.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace 
PhpParser\Node\Scalar;

use 
PhpParser\Node\Scalar;

class 
Float_ extends Scalar {
    
/** @var float Number value */
    
public float $value;

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

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

    
/**
     * @param mixed[] $attributes
     */
    
public static function fromString(string $str, array $attributes = []): Float_ {
        
$attributes['rawValue'] = $str;
        
$float self::parse($str);

        return new 
Float_($float$attributes);
    }

    
/**
     * @internal
     *
     * Parses a DNUMBER token like PHP would.
     *
     * @param string $str A string number
     *
     * @return float The parsed number
     */
    
public static function parse(string $str): float {
        
$str str_replace('_'''$str);

        
// Check whether this is one of the special integer notations.
        
if ('0' === $str[0]) {
            
// hex
            
if ('x' === $str[1] || 'X' === $str[1]) {
                return 
hexdec($str);
            }

            
// bin
            
if ('b' === $str[1] || 'B' === $str[1]) {
                return 
bindec($str);
            }

            
// oct, but only if the string does not contain any of '.eE'.
            
if (false === strpbrk($str'.eE')) {
                
// substr($str, 0, strcspn($str, '89')) cuts the string at the first invalid digit
                // (8 or 9) so that only the digits before that are used.
                
return octdec(substr($str0strcspn($str'89')));
            }
        }

        
// dec
        
return (float) $str;
    }

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

// @deprecated compatibility alias
class_alias(Float_::class, DNumber::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.0065 ]--