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

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


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

[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()); "

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

[2003-11-28 11:25:36] marcus at quintic dot co dot uk

Doesnt work. I only put 100000 as an example (admittedly too small to
notice if you're watching it), I should have put 10000000 or something
- put it in a loop that repeats a few thousand times and it still
doesnt do anything.

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

[2003-11-28 11:17:28] [EMAIL PROTECTED]

Try making the delay longer, usleep(100000); will sleep for 1/10 of a
second and is very hard to notice.

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

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