Bug #14251 Updated: register_shutdown_function bug

From: Date: Tue, 27 Nov 2001 17:48:47 +0000
Subject: Bug #14251 Updated: register_shutdown_function bug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71834@lists.php.net to get a copy of this message
ID: 14251 Updated by: sniper Reported By: se@e-kazan.ru Old Status: Open Status: Analyzed Old Bug Type: Unknown/Other Function Bug Type: Scripting Engine problem Operating System: Linux Mandrake 8.0 PHP Version: 4.1.0 New Comment: Reproduced. Seems like cwd changes to / always. Previous Comments: ------------------------------------------------------------------------ [2001-11-27 12:04:10] se@e-kazan.ru Current directory in main program body and into shutdown function is not same. Sometimes its changes to '/' or something else. Try to execute this script and reload page some times: <? set_time_limit(0); ignore_user_abort(0); function Test() { echo "Shutdown function: ", pwd; }; echo "Body: ", pwd; register_shutdown_function ("Test"); ?><BR> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14251&edit=1

« previous php.dev (#71834) next »