[PHP-DEV] Memory Leaks /w nested classes

2002-06-10 Thread Andre Christ
Hi, working with php's oop implementation I got some memory leaks. The behaviour can be reproduced with the following script: ?php class CBar { var $Parent; } class CSuper { function CSuper() { $this-Bar = new CBar(); $this-Bar-Parent = $this; } } $Super = new CSuper(); ? php

[PHP-DEV] Memory Leaks /w nested classes

2002-06-10 Thread Andre Christ
Hi, working with php's oop implementation I got some memory leaks. The behaviour can be reproduced with the following script: ?php class CBar { var $Parent; } class CSuper { function CSuper() { $this-Bar = new CBar(); $this-Bar-Parent = $this; } } $Super = new CSuper(); ? php

Re: [PHP-DEV] Memory Leaks /w nested classes

2002-06-10 Thread Andre Christ
Hi Brad, Brad Lafountain [EMAIL PROTECTED] wrote I use parent members all the time.. w/zend1 well, that's what I wanted to do until I discovered these entrys in my log file when php is compiled --enable-debug. Do you have these mem leaks as well ? Greets, André -- PHP Development Mailing

[PHP-DEV] new class as Parameter

2002-03-21 Thread Andre Christ
Hi, I'd like to know if the following piece of code is compatible with php 4.0.0 higher: ?php function myFunction($class) { [...] } class myClass { [...] } myFunction(new myClass); ? Are there any bugs known of you pass new Class directly ? Thanks in advance, André -- PHP

RE: [PHP-DEV] Possibility of moving bugs to another list?

2001-10-02 Thread Andre Christ
Hi, I am sure I am probably rehashing an old issue that I wasn't around for, but I have noticed that it has been incredibly hard to follow php-dev (especially lately since I haven't had as much free time as I normally do). When of the things I noticed is that I commonly miss a php-dev post

RE: [PHP-DEV] In C, how do I access an associative array?

2001-09-25 Thread Andre Christ
Hi, How do I find all the keys and values out of that array in my extension? Is there a way? Have a look at the Zend API Documentation at http://www.zend.com/apidoc/ or review implementations of other Extensions. Greets, Andre -- PHP Development Mailing List http://www.php.net/ To

RE: [PHP-DEV] 4.0.6 BUG with GCC 3.0.1

2001-09-20 Thread Andre Christ
Hi, Indeed, binaries (including libs) compiled with gcc 3.x aren't compatible to binaries compiled with gcc 2.95. The behaviour you discovered cannot be classified a php bug, it is rather a limitation of the new compiler version. I was under the impression that while your

RE: [PHP-DEV] 4.0.6 BUG with GCC 3.0.1

2001-09-19 Thread Andre Christ
Hi, Where can I get the source or binaries for 4.07? I think I've discovered a bug , but want to make sure with latest build. The bug has to do with Gnu GCC 3.0.1 libraries. It's incompatible! Trust me it is! And I even tried to trick PHP by creating a symbolic link referring to the older

RE: [PHP-DEV] SID without cookies - why sometimes automatic?

2001-09-11 Thread Andre Christ
Hi, Is there perhaps some configuration I can change on the web server? I obviously prefer the way the development machine works because it saves me having to go through every link adding SID, but my main priority is just to get both machines to work the same. I'm not sure wether this