ID: 3923 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: Scripting Engine problem PHP Version: 4.0 Beta 4 Patch Level 1 Assigned To: Comments: this should be fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2000-08-15 09:43:34] [EMAIL PROTECTED] this is a dup --------------------------------------------------------------------------- [2000-07-30 12:25:38] [EMAIL PROTECTED] ** Uneducated Guess Alert ** Install a recent release of PHP and current win2k/iis patches. Once this is done, try turning ISAPI caching off. Go to Internet Information Services -> Default (or whatever) Website -> Properties -> Home Directory -> Configuration... Then uncheck Cache ISAPI Applications Please let me know if this works. --------------------------------------------------------------------------- [2000-03-25 11:13:04] [EMAIL PROTECTED] 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=3923&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]