Re: [PHP-DEV] Memory leak with .=

2004-03-02 Thread Timm Friebe
On Tue, 2004-03-02 at 11:13, Andi Gutmans wrote: > Fixed. Verified. > Thanks for the reproducing case. You're welcome:) - Timm -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Memory leak with .=

2004-03-02 Thread Andi Gutmans
Fixed. Thanks for the reproducing case. At 11:25 PM 2/27/2004 +0100, Timm Friebe wrote: The following script: public function append($string) { $this->buf.= ($string instanceof StringBuffer ? $string->buf : $string ); } } $s= new StringBuffer(); $s->appen

[PHP-DEV] Memory leak with .=

2004-02-27 Thread Timm Friebe
The following script: buf.= ($string instanceof StringBuffer ? $string->buf : $string ); } } $s= new StringBuffer(); $s->append('Hello'); ?> causes: /usr/home/thekid/devel/php/php/Zend/zend_execute.c(4049) : Freeing 0x083B0310 (6 bytes), script=string.php /usr