note 33143 added to function.posix-times

From: Date: Tue, 17 Jun 2003 16:01:38 +0000
Subject: note 33143 added to function.posix-times
Groups: php.notes 
Request: Send a blank email to php-notes+get-50515@lists.php.net to get a copy of this message
I am not sure why, and it could just be me but on my FreeBSD system using $time = posix_times(); $time['ticks'] is an enormous value that bears no relation to the system uptime (I tested by rebooting the system, the number does not change). I checked my timecounters, they tick every 10.000msec and I did the maths on the returned value and it suggested the machine had been up for over 200 days - it was reformatted about a week ago. This could be to do with FreeBSD, or *BSD, or just *idiots like me but just check before you use the function. ~ FreeBSD 5.1-R, Apache 2.0.46, PHP4.3.2 ---- Manual Page -- http://www.php.net/manual/en/function.posix-times.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33143 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33143&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33143&report=yes

« previous php.notes (#50515) next »