note 124720 added to function.mt-srand

From: Date: Sat, 15 Feb 2020 12:30:45 +0000
Subject: note 124720 added to function.mt-srand
Groups: php.notes 
Request: Send a blank email to php-notes+get-214097@lists.php.net to get a copy of this message
Please note that according to: https://stackoverflow.com/a/11358829/2897386 The seed is automatically initialised with the current timestamp if not provided. This means that your script will produce values of poor random quality if it's always run at a predictable time, for example by crontab. In that case it may be a good idea to initialise it manually from a cryptographically secure source. ---- Server IP: 45.112.84.4 Probable Submitter: 103.51.167.36 (proxied: 2a01:260:4111:3:90b3:775:cbf2:4075) ---- Manual Page -- http://php.net/manual/en/function.mt-srand.php Edit -- https://master.php.net/note/edit/124720 Del: integrated -- https://master.php.net/note/delete/124720/integrated Del: useless -- https://master.php.net/note/delete/124720/useless Del: bad code -- https://master.php.net/note/delete/124720/bad+code Del: spam -- https://master.php.net/note/delete/124720/spam Del: non-english -- https://master.php.net/note/delete/124720/non-english Del: in docs -- https://master.php.net/note/delete/124720/in+docs Del: other reasons-- https://master.php.net/note/delete/124720 Reject -- https://master.php.net/note/reject/124720 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214097) next »