Fork me on GitHub
Subscribe 2

Ticket #1135 (duplicate enhancement)

remove or convert function get_microtime()

  • Created: 2019-09-10 12:53:02
  • Reported by: JJones
  • Assigned to: None
  • Milestone: None
  • Component: None
  • Priority: low

microtime(true) should be used instead of function call...

however, for the sake of ease, the function should be changed to:

function get_microtime()
    return microtime(true);

the pass though variable forces a float casted return variable. However, I repeat myself, the function call should be removed.


Franz 2019-09-11 05:56:11

  • Status changed from open to duplicate.

This has already been done in the master branch.

See this commit and this ticket.