Doc #50984 [Opn->Asn]: register_shutdown_function on windows?

From: Date: Sun, 14 Mar 2010 22:33:32 +0000
Subject: Doc #50984 [Opn->Asn]: register_shutdown_function on windows?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4048@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50984&edit=1 ID: 50984 Updated by: kalle@php.net Reported by: darren at dcook dot org Summary: register_shutdown_function on windows? -Status: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem Operating System: windows PHP Version: Irrelevant -Assigned To: +Assigned To: pajoye New Comment: Pierre, can you please clarrify this one and close it if its not an issue. If its something that needs to be documented then please re-assign it to me. Previous Comments: ------------------------------------------------------------------------ [2010-02-10 01:58:52] darren at dcook dot org Description: ------------ The documentation for register_shutdown_function does not mention any specific behaviour for Windows vs. Linux, or by web server (vs. CLI). There is a comment (from 2002!!) saying: Note that register_shutdown_function() does not work under Apache on Windows platforms..... The same problem appears in the bug database a few times, but seems to get flagged as bogus each time. If the comment is wrong, and the function definitely works under apache on Windows, can the comment be removed please? If the behaviour is different under Windows can that be mentioned in the Notes section please? (FWIW I'm seeing it work under PHP 5.2.3 cli on windows, but identical code not work from php-apache on the same machine; but as the documentation is confusing I'm not sure if I should report this as a bug or not, or if it is simply not supposed to work.) Also, another comment on that page says debug_backtrace and debug_print_backtrace do not work. If so, it would be really useful to have a full list of commands that cannot be used from within a register_shutdown_function(). Thanks! Reproduce code: --------------- --- From manual page: function.register-shutdown-function#Notes --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=50984&edit=1

« previous php.doc.bugs (#4048) next »