b94dd6a7ec
microtime is by default a string. Doing a greater then or less than check of that string is a bad idea since it uses the first part (the micro part of microtime) rather then the actual time. This adds a helper to convert microtime output into a float which we can then use to properly compare the output of microtime. This fixes an intermittent test failure. fixes #30336 git-svn-id: https://develop.svn.wordpress.org/trunk@30337 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
bootstrap.php | ||
exceptions.php | ||
factory.php | ||
functions.php | ||
install.php | ||
mock-fs.php | ||
mock-image-editor.php | ||
mock-mailer.php | ||
testcase-ajax.php | ||
testcase-canonical.php | ||
testcase-xmlrpc.php | ||
testcase.php | ||
trac.php | ||
utils.php | ||
wp-profiler.php |