[PHP] Re: Problem with microtime() From: _lallous (elias_bachaalany <email protected>)
Date: 08/31/01

string microtime(void);

you see? you're casting from a string to int by your code:
(int) microtime();

you can do: $k = microtime() w/o the (int)

"Rosen" <rosen_dm <email protected>> wrote in message
news:20010831084959.93048.qmail <email protected>
> Hi,
> I'm using the following code:
> for ($i = 0; $i < 100; $i++) {
> $k = (int) microtime();
> echo "<br>$k";
>
> for ($j = 0; $j < 10000; $j++)
> $m = $j *3;
> }
>
>
> but it prints me only "0......"
>
>
>
> Where can be problem ?
>
>
>
> Thanks,
>
> Rosen
>
>
>
>
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>