Doc #50984 [Asn]: register_shutdown_function on windows?
| From: | pajoye@php.net | Date: | Mon, 15 Mar 2010 10:58:02 +0000 |
| Subject: | Doc #50984 [Asn]: register_shutdown_function on windows? | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4049@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: pajoye@php.net
Reported by: darren at dcook dot org
Summary: register_shutdown_function on windows?
Status: Assigned
Type: Documentation Problem
Package: Documentation problem
Operating System: windows
PHP Version: Irrelevant
-Assigned To: pajoye
+Assigned To: kalle
New Comment:
I don't have the time to investigate that now, can you try yourself and
come back to m if there is any issue regarding this function on windows?
Previous Comments:
------------------------------------------------------------------------
[2010-03-14 23:33:32] kalle@php.net
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.
------------------------------------------------------------------------
[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