uniqid

From: Date: Sat, 14 Dec 2002 19:59:34 +0000
Subject: uniqid
Groups: php.dev 
Request: Send a blank email to php-dev+get-92474@lists.php.net to get a copy of this message
First: Uniqid test (tests/strings/001.phpt) failes for cygwin because the time for gettimeofday() is only updated once per second. I suggest we should change the test to use more entropy. Second: We should consider more entropy being default even though it is slower. Third: the function is available even when HAVE_GETTIMEOFDAY is not available. This should be changed (is on out todo) or the function should return a unique value for such platforms, too. Fourth: We should split ./tests/strings/001.phpt. One for the string functions and one for uniqid(). marcus

« previous php.dev (#92474) next »