![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch Uniqid for Performance problem Bug #37840Patch version 2010-04-22 06:32 UTC Return to Bug #37840 | Download this patchPatch Revisions: Developer: mwoolf@mcomi.netTo patch this problem simply set $more_entropy to true string uniqid ([ string $prefix = "" [, bool $more_entropy = false ]] ) so unqid($your_prefix, true); // Quick as opposed to uniqid($your_prefix); // Takes too long to generate We had this problem on CentOS 5 using PHP 5.2 |
![]() All rights reserved. |
Last updated: Fri May 09 14:01:27 2025 UTC |