note 52182 added to function.uniqid

From: Date: Sat, 23 Apr 2005 11:09:14 +0000
Subject: note 52182 added to function.uniqid
Groups: php.notes 
Request: Send a blank email to php-notes+get-88441@lists.php.net to get a copy of this message
Note that the documentation is incorrect. The prototype should read: string uniqid ( string prefix [, bool more_entropy] ) Thus, a prefix is required. You will get a warning error but this is misleading because if you do this:. $val = uniqid(); echo $val; $val will be an empty string! ---- Manual Page -- http://www.php.net/manual/en/function.uniqid.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52182 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52182&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52182&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52182&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52182&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52182&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52182&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88441) next »