Skip to content
Snippets Groups Projects
Commit c9f08ef5 authored by Peter Rotich's avatar Peter Rotich
Browse files

Add micro_time function - PHP 5 syle

parent f7ec5612
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,13 @@ class Misc {
return time()-date('Z');
}
/* Needed because of PHP 4 support */
function micro_time() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
//Current page
function currentURL() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment