Date: 08/31/01
- Next message: _lallous: "Re: [PHP] determining the pixel width of a string"
- Previous message: Andrey Hristov: "Re: [PHP] Problem with microtime()"
- In reply to: Rosen: "[PHP] Problem with microtime()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: _lallous: "Re: [PHP] determining the pixel width of a string"
- Previous message: Andrey Hristov: "Re: [PHP] Problem with microtime()"
- In reply to: Rosen: "[PHP] Problem with microtime()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

