Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php microtime

<?php
$time_start = microtime(true);

// Sleep for a while
usleep(100);

$time_end = microtime(true);
$time = $time_end - $time_start;

echo "Did nothing in $time seconds
";
?>
Comment

PREVIOUS NEXT
Code Example
Php :: how to hide get parameters in url php 
Php :: laravel update from query 
Php :: php error display 
Php :: erd in phpmyadmin 
Php :: php check credit card expiration 
Php :: php get intersection of two arrays 
Php :: laravel route is current route 
Php :: phpspreadsheet applyFromArray wrap 
Php :: how to get the last inserted id in laravel 
Php :: guzzlehttp post json example 
Php :: object to array php 
Php :: wordpress get category page title 
Php :: cake tmp name 
Php :: POP UP WITH PHP FUNCTION 
Php :: wordpress loop 
Php :: php foreach associative array 
Php :: jetstream seed user with team 
Php :: laravel base url 
Php :: install ext-ldap php 7.2 
Php :: how to get all rows from a table except some rows in laravel 
Php :: laravel string builder 
Php :: how to get all roles in wordpress 
Php :: log magento 2.4.3 
Php :: laravel check collection has key 
Php :: get the last saved row in a table laravel 
Php :: php get environment variable 
Php :: wp_query post count 
Php :: PHP | get client ip 
Php :: Add 2 hours to current time in cakephp 
Php :: how to find the name of login user in laravel 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =