From:             [EMAIL PROTECTED]
Operating system: Linux Mandrake 8.0
PHP version:      4.1.0
PHP Bug Type:     Unknown/Other Function
Bug description:  register_shutdown_function bug

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 bug report at: http://bugs.php.net/?id=14251&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to