[PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread Christian Stocker
Hi I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code: *** $html = foo; $options = array(char-encoding = utf8); $tidy = new tidy(); $tidy-parseString($html,$options,$options['char-encoding']); print $tidy; *** If the 3rd param is not part of

Re: [PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread Nuno Lopes
Hi I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code: *** $html = foo; $options = array(char-encoding = utf8); $tidy = new tidy(); $tidy-parseString($html,$options,$options['char-encoding']); print $tidy; *** If the 3rd param is not

Re: [PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread Derick Rethans
On Tue, 8 Jun 2004, Nuno Lopes wrote: You shouldn't use the char-encoding as option (the second paramether)!! You should just set the last parameter, as it will set the input and ouput charset!! No need for those extra exclamation marks, and even *if* he used the function wrongly it shouldn't

Re: [PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread Christian Stocker
On 8.6.2004 12:42 Uhr, Nuno Lopes wrote: Hi I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code: *** $html = foo; $options = array(char-encoding = utf8); $tidy = new tidy(); $tidy-parseString($html,$options,$options['char-encoding']); print

Re: [PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread John Coggeshall
I'll poke around at it today John On Tue, 2004-06-08 at 07:58, Christian Stocker wrote: On 8.6.2004 12:42 Uhr, Nuno Lopes wrote: Hi I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code: *** $html = foo; $options = array(char-encoding =

Re: [PHP-DEV] Mem Leak in Tidy, ZE2 Bug?

2004-06-08 Thread Ilia Alshanetsky
The leak had been fixed. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php