Re: [PHP-DEV] __destruct() not called

2004-01-17 Thread Michael Walter
Do you have circular references between 2+ objects? The __destruct() method won't be called then for those, I suppose. Cheers, Michael Sebastian Bergmann wrote: The __destruct() method of the PHPUnit_Extensions_Logger_XML class (part of PHPUnit) is not beeing called. To reproduce: 1.)

[PHP-DEV] __destruct() not called

2004-01-17 Thread Sebastian Bergmann
The __destruct() method of the PHPUnit_Extensions_Logger_XML class (part of PHPUnit) is not beeing called. To reproduce: 1.) cd pear/PHPUnit 2.) Create FooTest.php with the following code assertEquals( 'abcdefghijklmnopqrstuvwxyz', 'abcdef