ID:               26449
 User updated by:  marcus at quintic dot co dot uk
 Reported By:      marcus at quintic dot co dot uk
 Status:           Assigned
 Bug Type:         *General Issues
 Operating System: Windows XP
 PHP Version:      4.3.4
 Assigned To:      wez
 New Comment:

:) Hell, who need microseconds anyway - being able to 
delay for less than a second without chewing cpu would be 
enough for me. Thanks.


Previous Comments:
------------------------------------------------------------------------

[2003-11-29 16:08:22] [EMAIL PROTECTED]

Sleep() has millisecond resolution, not microsecond resolution.

I'll look into getting usleep working under win32, but
make no promises.

------------------------------------------------------------------------

[2003-11-29 15:57:45] marcus at quintic dot co dot uk

So every other language I know manages to call Sleep under  
win32 and it works, but php doesnt?

------------------------------------------------------------------------

[2003-11-29 06:15:27] [EMAIL PROTECTED]

RTFM: Note:  This function does not work on Windows systems.
(Yes, manual might be correct?)

The function exists, but it does absolutely nothing on windows.


------------------------------------------------------------------------

[2003-11-28 15:37:02] marcus at quintic dot co dot uk

Ok - I wont be able to check until after the weekend. I 
tried the output of  
 
<?php echo time(); usleep(10000000); echo time(); ?> 
 
earlier (before submitting the bug) and it comes back with 
the same time twice so unless var_dump gives you any extra 
info that will help....

------------------------------------------------------------------------

[2003-11-28 14:01:25] [EMAIL PROTECTED]

Try running the following:
php -r " var_dump(time(), usleep(10000000), time()); "

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26449

-- 
Edit this bug report at http://bugs.php.net/?id=26449&edit=1

Reply via email to