Marcus Börger wrote:
Global variables are a bit complicated but constants are either bound to the
class so they are obviously available in instance destruction or as in your
case they were registered in the global space and hence destructed after all
script action is finished which includes automa
Hello Ulf,
Sunday, July 6, 2003, 12:27:00 PM, you wrote:
UW> Hi,
UW> I'm wondering if it's a bug to give automatically called destructors
UW> access to constants (PHP Version 5.0.0b1). I'd expect to be neither able
UW> to access global variables nor constants after script termination (die()).
Hi,
I'm wondering if it's a bug to give automatically called destructors
access to constants (PHP Version 5.0.0b1). I'd expect to be neither able
to access global variables nor constants after script termination (die()).
Ulf
$dtor = 'global $dtor variable is visible';
define('DTOR', 'DTOR cons