|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-29 19:21 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 02:00:01 2025 UTC |
Description: ------------ Running under Apache 2. Error does not occur under the CLI. Registered a shutdown function (register_shutdown_function()), and while the shutdown function is executing, getcwd() returns '/'. Reproduce code: --------------- function shuttingdown() { print(getcwd() . "<br>"); } register_shutdown_function('shuttingdown'); Expected result: ---------------- The absolute path-name of the current working directory. Actual result: -------------- '/' (always, apparently)