Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21000 invoked by uid 1010); 13 Mar 2004 13:55:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20976 invoked by uid 1007); 13 Mar 2004 13:55:57 -0000 Message-ID: <20040313135557.20975.qmail@pb1.pair.com> To: internals@lists.php.net Date: Sat, 13 Mar 2004 07:56:20 -0600 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20040228 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 24.171.96.14 Subject: Re: ht being destroyed... From: guru@php.net (Joe Estock) Derick Rethans wrote: > Hello, > > the following script: > > 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)