Tamas Arpad wrote:

That's not right now. The manual is outdated. See this bug report http://bugs.php.net/bug.php?id=15209.
This behavior was changed from 4.06 to 4.1. In newer versions of php the registered functions will run before the connection is closed so ouptput can be done from there as well.
>
> So Jean you can make it as it is suggested on this page:
> http://www.php.net/manual/en/features.connection-handling.php

Cool! I just tested it out and it works. At lest under PHP 4.3.0 and Apache 1.3.26.

But according to the bug report this functionality may change in the future and a new function apache_register_shutdown() might replace the current one ...

The current functionality is *not* what is documented, but is it was is *intended*. I.e. will the current functionality be change to be what the docs say or will it continue and the docs will be changed?

I will be using this functionality and need to know if it will change in future releases ...

Thanks for this info. It was a great help!

Jc



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



Reply via email to