|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-17 21:08 UTC] preinheimer@php.net
[2009-02-18 17:22 UTC] preinheimer@php.net
[2009-05-22 09:22 UTC] bjori@php.net
[2009-06-27 10:25 UTC] kalle@php.net
[2020-02-07 06:10 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 06:00:01 2026 UTC |
Description: ------------ The source code indicates that uniqid() may completely fail on Cygwin and return false: #if HAVE_USLEEP && !defined(PHP_WIN32) if (!more_entropy) { #if defined(__CYGWIN__) php_error_docref(NULL TSRMLS_CC, E_WARNING, "You must use 'more entropy' under CYGWIN"); RETURN_FALSE; #else usleep(1); #endif } #endif This needs to be documented so that unsuspecting web apps don't become insecure when run on this platform, e.g. giving everyone the same default password.