note 46967 deleted from function.register-shutdown-function by tomsommer
| From: | tomsommer@php.net | Date: | Thu, 28 Oct 2004 20:49:43 +0000 |
| Subject: | note 46967 deleted from function.register-shutdown-function by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79291@lists.php.net to get a copy of this message | ||
Note Submitter: dev at kiwicore dot org
----
Note that in PHP5, it appears that regardless of what the working directory of your script is, when
using register_shutdown_function, the working directory at the time your callback function is
called; will be the machine root (on panther, it's Macintosh HD). I'm not sure if this is
the case on other systems or versions, but it appears to be true on two different installs of PHP5
on macs. I noticed this because any require statements failed, just load whatever you need before
the callback I suppose.