Are you sure its a bug?  If you check the documentation on 
"register_shutdown_function", you'll see that it occurs AFTER the data 
in the output buffer has been sent to the user.  Therefore, functions 
like "echo" and "print" are not supposed to work:

http://www.php.net/manual/en/function.register-shutdown-function.php

Wierd that it works when you do "exit"...

To test whether or not its actually broken, you may need to open a file 
for writing, and print some data to the file... or the error logs, or 
something else.

-- 

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424

> I'm posting this here to give this BUG attention.  It's a pretty serious one
> for Win32 users, and it would be great if it could be fixed *very
> quickly* -- I posted this in the Bug Reports on PHP.net on May 27th, 2002.
> 
> Here's the link: http://bugs.php.net/bug.php?id=17461
> 
> I need to use this function to perform certain *required* tasks on a
> Timeout -- however (and please read the Bug Report, before replying) the
> Timeout functionality of this function DOES NOT work on Win32 builds.
> 
> If your a C/C++ / PHP contributor and have a moment to look into this -- it
> would be great -- I would love to see this fixed in release 4.2.4 !!!
> 
> Thanks
> Jason
> 
> 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to