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)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to