Re: ht being destroyed...

From: Date: Sat, 13 Mar 2004 13:56:20 +0000
Subject: Re: ht being destroyed...
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-8504@lists.php.net to get a copy of this message
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)

« previous php.internals (#8504) next »