Opened 2 years ago

Last modified 2 years ago

#16753 new enhancement

PHP5-port - microtime() use

Reported by: hakre Owned by:
Priority: normal Milestone: Awaiting Review
Component: General Version: 3.1
Severity: normal Keywords: has-patch
Cc:

Description

See microtime() for details.

In microtime() related code uniqid() with more entropy does not need a prefix. And there is no need to seed the random number generator. See srand() for details.

Attachments (2)

16753.patch (3.0 KB) - added by hakre 2 years ago.
16753.2.patch (2.1 KB) - added by hakre 2 years ago.
w/o additional fixes

Download all attachments as: .zip

Change History (4)

hakre2 years ago

hakre2 years ago

w/o additional fixes

Second patch is making use of the new parameter only, leaving other places untouched so far.

  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.