|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-30 12:25 UTC] zak@php.net
[2000-08-15 09:43 UTC] waldschrott@php.net
[2001-04-29 12:09 UTC] jmoore@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 17:00:01 2025 UTC |
When I us a include like this: <? // Include new functions include("func.php"); // Start timer $starttime = microtimer(); ?> I get this result if you hit refresh on the the same page or go to a different page with the same included functions I get this error printed to the client browser: Fatal error: Cannot redeclare microtimer() in func.php on line 2 Here is my function in func.php: function microtimer() { $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; return ($mtime); } I also recompiled a snapshot from 2 days ago it did the same.