!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/dokan/script/vendor/bacon/bacon-qr-code/src/Renderer/Image/   drwxrwxrwx
Free 13.29 GB of 57.97 GB (22.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TransformationMatrix.php (1.99 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
declare(strict_types 1);

namespace 
BaconQrCode\Renderer\Image;

final class 
TransformationMatrix
{
    
/**
     * @var float[]
     */
    
private $values;

    public function 
__construct()
    {
        
$this->values = [100100];
    }

    public function 
multiply(self $other) : self
    
{
        
$matrix = new self();
        
$matrix->values[0] = $this->values[0] * $other->values[0] + $this->values[2] * $other->values[1];
        
$matrix->values[1] = $this->values[1] * $other->values[0] + $this->values[3] * $other->values[1];
        
$matrix->values[2] = $this->values[0] * $other->values[2] + $this->values[2] * $other->values[3];
        
$matrix->values[3] = $this->values[1] * $other->values[2] + $this->values[3] * $other->values[3];
        
$matrix->values[4] = $this->values[0] * $other->values[4] + $this->values[2] * $other->values[5]
            + 
$this->values[4];
        
$matrix->values[5] = $this->values[1] * $other->values[4] + $this->values[3] * $other->values[5]
            + 
$this->values[5];

        return 
$matrix;
    }

    public static function 
scale(float $size) : self
    
{
        
$matrix = new self();
        
$matrix->values = [$size00$size00];
        return 
$matrix;
    }

    public static function 
translate(float $xfloat $y) : self
    
{
        
$matrix = new self();
        
$matrix->values = [1001$x$y];
        return 
$matrix;
    }

    public static function 
rotate(int $degrees) : self
    
{
        
$matrix = new self();
        
$rad deg2rad($degrees);
        
$matrix->values = [cos($rad), sin($rad), -sin($rad), cos($rad), 00];
        return 
$matrix;
    }


    
/**
     * Applies this matrix onto a point and returns the resulting viewport point.
     *
     * @return float[]
     */
    
public function apply(float $xfloat $y) : array
    {
        return [
            
$x $this->values[0] + $y $this->values[2] + $this->values[4],
            
$x $this->values[1] + $y $this->values[3] + $this->values[5],
        ];
    }
}

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