On 12-08-14 10:41 AM, Tedd Sperling wrote:
On Aug 13, 2012, at 10:59 AM, Robert Cummings <rob...@interjinn.com> wrote:
On 12-08-10 04:42 PM, Tedd Sperling wrote:
On Aug 10, 2012, at 1:21 PM, Ege Sertçetin <sertce...@itu.edu.tr> wrote:
Hi. My question will maybe out of topic, I'm sorry.
How can you know that one way will be much slower than other one? I mean, how
can I learn which function is faster before I test it?
No your question is on topic.
This question should be asked on the list, so I'll present Q:A instead of
The code is there -- if you have questions, please post them to the list.
Please see the current signature for microtime():
mixed microtime ([ bool $get_as_float = false ] )
The optional paramter was added in PHP 5.0.0. I think it's safe to update your
Thanks -- my habits are always in a state of being updated -- just ask my wife.
I'm not sure if you're making a joke, but your changes have no effect.
You've merely explicitly stated the optional parameter's default value.
What I had meant was to change the following:
$starttime = microtime();
$startarray = explode(" ", $starttime);
$starttime = $startarray + $startarray;
To the following :)
$starttime = microtime( true );
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php