Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
werneckbh /
qr-code /
src /
QR_Code /
Util /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractGenerator.php
3.28
KB
-rw-r--r--
2018-02-04 09:00
Benchmark.php
1.44
KB
-rw-r--r--
2018-02-04 09:00
FrameFiller.php
2.53
KB
-rw-r--r--
2018-02-04 09:00
Logger.php
1009
B
-rw-r--r--
2018-02-04 09:00
Split.php
9.39
KB
-rw-r--r--
2018-02-04 09:00
Tools.php
2.96
KB
-rw-r--r--
2018-02-04 09:00
Save
Rename
<?php namespace QR_Code\Util; /** * Class Benchmark * * Based on PHP QR Code distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> * * QR Code Generator for PHP is distributed under MIT * Copyright (C) 2018 Bruno Vaula Werneck <brunovaulawerneck at gmail dot com> * * @package QR_Code\Util */ class Benchmark { /** * Set mark * * @param string $id */ public static function mark (string $id) : void { list($usec, $sec) = explode(" ", microtime()); $time = ((float) $usec + (float) $sec); if (!isset($GLOBALS['qr_time_bench'])) $GLOBALS['qr_time_bench'] = []; $GLOBALS['qr_time_bench'][$id] = $time; } /** * Returns Benchmark table * * @return array */ public static function getResults () : array { self::mark('finish'); $lastTime = 0; $startTime = 0; $p = 0; $returnArr = []; foreach ($GLOBALS['qr_time_bench'] as $id => $thisTime) { if ($p > 0) { $returnArr["Seconds until {$id}"] = number_format($thisTime - $lastTime, 6); } else { $startTime = $thisTime; } $p++; $lastTime = $thisTime; } $returnArr['Total'] = number_format($lastTime - $startTime, 6); return $returnArr; } }