I want to ensure that I'm releasing a lock on a file after _all_ objects
have been destroyed. What I'm trying to do is use
register_shutdo wn_function to call a function that releases the lock on
the file then closes it. Testing is showing that the registered
function is being called before all objects are destroyed. Is this
expected behaviour? Is there a way to get the desired functionality?
This is a standalone shell script/applicaton that isn't being run via a
web browser. Using PHP 5.0.1 on Linux 2.6 kernel.
- Derek
have been destroyed. What I'm trying to do is use
register_shutdo wn_function to call a function that releases the lock on
the file then closes it. Testing is showing that the registered
function is being called before all objects are destroyed. Is this
expected behaviour? Is there a way to get the desired functionality?
This is a standalone shell script/applicaton that isn't being run via a
web browser. Using PHP 5.0.1 on Linux 2.6 kernel.
- Derek
Comment