ht being destroyed...

php.internals

Derick Rethans

22 years ago
Hello, the following script: <?php class foo { function foo() { $this->a = $this; $this->b = $this; } } function bar($o) { } $f = new foo(); bar($f); bar($f); ?> generates the following warning: /dat/dev/php/php-5.0dev/Zend/zend_hash.c(504) : ht=0x4055e9b0 is being destroyed regards, Derick

Joe Estock

22 years ago
Derick Rethans wrote:
> Hello, > > the following script: > > <?php > class foo { > > function foo() { > $this->a = $this; > $this->b = $this; > } > > } > > function bar($o) { > } > > $f = new foo(); > bar($f); > bar($f); > ?> > > > generates the following warning: > /dat/dev/php/php-5.0dev/Zend/zend_hash.c(504) : ht=0x4055e9b0 is being destroyed > > regards, > Derick
Derick, I have tried to reproduce this warning on PHP 5.0.0a5-alexdupre without success. I am running in cli mode on FreeBSD 5.2.1, not sure if that would make any difference, however. Regards, Joe (guru)

Andi Gutmans

22 years ago
It was fixed a few days ago. At 07:56 AM 3/13/2004 -0600, Joe Estock wrote: