PHP 4.0 Bug #4968 Updated: microtime() does not work properly

From: Date: Sun, 04 Feb 2001 15:54:33 +0000
Subject: PHP 4.0 Bug #4968 Updated: microtime() does not work properly
Groups: php.dev 
Request: Send a blank email to php-dev+get-45726@lists.php.net to get a copy of this message
ID: 4968 Updated by: jmoore Reported By: waldschrott@kiffen.de Old-Status: Assigned Status: Closed Bug Type: Date/time related Assigned To: jmoore Comments: Fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2001-02-04 06:55:29] jmoore@php.net Ill look into this one. James --------------------------------------------------------------------------- [2000-12-19 18:55:47] sniper@php.net Feedback from Cynic <cynic@mail.cz>: ---------------------------- Tested on NT 5 SP 1 Apache 1.3.15-dev / DSO PHP 4.0.5-dev from 13.12.2000. It still exists. --------------------------------------------------------------------------- [2000-09-13 23:43:22] waldschrott@php.net the problem is still existent, try this code it´s much better: for ($i=1;$i<=100000;$i++) { list($micro,$time)=explode(" ",microtime()); $add=$micro+$time; print ($add<$last ? 'Last:'.$last.' -Current:'.$add.'<BR>' : ''); $last=$add; } --------------------------------------------------------------------------- [2000-09-13 21:41:24] dbeu@php.net i failed to reproduce this with php 4.0.2. does this problem still exist? --------------------------------------------------------------------------- [2000-08-01 23:49:44] waldschrott@php.net wow, It still doesn´t work and crashes after a while --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=4968&edit=2

« previous php.dev (#45726) next »