eric van blokland wrote:
1. Overengineering perhaps... 2. Reinventing the wheel? Probably, but I just like to know every single "bit" of the wheel I use
hmm, did you build your own PC? and the CPU did you build that? do you know exactly how it works? me niether.
3. I do get confused every now and then about PHP5 O
we have a club. :-)
4. References everywhere? Yes, the code was originally written for PHP4 I have already started removing them, but seriously, does PHP5 cares about passing an object reference by reference (it's useless and overhead, ok, but does it matter?)
its not my code, I haven't even seen it run, how do I know if it will actually help? but I have a strong feeling that it will fix the issue. so change the code and find out. given the fact that you are migrating php4 OO code to php5 you might consider reading up on all the potential problems that might occur.
Because the code originates from PHP4, I don't have __constructor functions
its __construct(), and given that the code contains php5 only syntax I would suggest removing anything that is there for the benefit of php4. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php