note 73846 added to function.time
| From: | john at motdidr dot com | Date: | Mon, 12 Mar 2007 23:01:00 +0000 |
| Subject: | note 73846 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124391@lists.php.net to get a copy of this message | ||
did a quick test comparing time() with date("U"), using 100,000 iterations. Granted, I did
this on a 2.4GHz Celeron... the results should still stand.
time() (100000) : 0.0589900016785
date("U") (100000) : 22.246557951
----
Server IP: 64.71.164.2
Probable Submitter: 207.47.84.178
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- https://master.php.net/note/edit/73846
Del: integrated -- https://master.php.net/note/delete/73846/integrated
Del: useless -- https://master.php.net/note/delete/73846/useless
Del: bad code -- https://master.php.net/note/delete/73846/bad+code
Del: spam -- https://master.php.net/note/delete/73846/spam
Del: non-english -- https://master.php.net/note/delete/73846/non-english
Del: in docs -- https://master.php.net/note/delete/73846/in+docs
Del: other reasons-- https://master.php.net/note/delete/73846
Reject -- https://master.php.net/note/reject/73846
Search -- https://master.php.net/manage/user-notes.php