get_microtime() redeclaration error

I get the error:
Fatal error: Cannot redeclare get_microtime() (previously declared in /home/furqico1/public_html/forum/include/functions.php:15) in /home/furqico1/public_html/forum/include/functions.php on line 17

For the code:
[php]function get_microtime()
{
list($usec, $sec) = explode(’ ', microtime());
return ((float)$usec + (float)$sec);
}[/php]

This is on an install of FluxBB. I did not edit the page where this function is stored, however this is the first time I have seen this error.

Amazing. I figured it out quickly. I called the page with the function and called a page that called the page with the function. That messed it up.

Sponsor our Newsletter | Privacy Policy | Terms of Service