note 18800 rejected from function.localtime by didou

From: Date: Wed, 21 May 2003 16:25:30 +0000
Subject: note 18800 rejected from function.localtime by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48764@lists.php.net to get a copy of this message
Note Submitter: phil@adigital.com.mx ---- Be VERY careful with microtime() on windows (ME edition in my case): it has not to be really trusted... I've made this simple test and watch the result: (almost 50% of the times i run it) $init = microtime(); for ($i = 1;$i<10 ; $i++) { $e = dir; } $end = microtime(); print "$init - $end"; The result is: 0.85252000 1012976406-0.17412900 1012976406 As you see, it give me a end time BEFORE init time ?!? Atte Phil

« previous php.notes (#48764) next »