!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/phpmyadmin/vendor/bacon/bacon-qr-code/src/Renderer/Image/   drwxr-xr-x
Free 13.06 GB of 61.93 GB (21.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TransformationMatrix.php (1.99 KB)      -rw-r--r--
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 ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5378 ]--