From:             
Operating system: Windows XP
PHP version:      Irrelevant
Package:          *General Issues
Bug Type:         Bug
Bug description:microtime() returns random values

Description:
------------
I have a very weird bug here. The microtime() function with the parameter
true works fine everywhere in my entire application - except in one single
place. It's measuring database query durations here. It counts everything
perfectly but always at a certain database query in the deepest middle of
my application it returns random values. When I call it a second time just
a line of code later, it returns the correct value again. It happens every
time tonight. I cannot provide a testcase yet because there's another tens
of thousands of lines of code hanging at this to work at all.



I cannot upgrade PHP because there's no newer XAMPP package available.
Version is 5.3.1.


-- 
Edit bug report at http://bugs.php.net/bug.php?id=54050&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54050&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54050&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54050&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54050&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54050&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54050&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54050&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54050&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54050&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54050&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54050&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54050&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54050&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54050&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54050&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54050&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54050&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54050&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54050&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54050&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54050&r=mysqlcfg

Reply via email to