You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #176 Use "more entropy" option when using uniqid() function (javiereguiluz)
This PR was merged into the 2.x-dev branch.
Discussion
----------
Use "more entropy" option when using uniqid() function
As you can see in [the source code of the PHP uniqid() function](https://github.com/php/php-src/blob/1c295d4a9ac78fcc2f77d6695987598bb7abcb83/ext/standard/uniqid.c#L68) when you don't pass `true` as the second argument, PHP sleeps the application for 1 microsecond (`usleep(1)`)
Symfony uses `true` almost everywhere, but this bundle still had some uniqid() calls without this option.
Commits
-------
2f52c4e Use "more entropy" option when usin uniqid() function
0 commit comments