You are here: Re: [PHP] Assistance debugging php 5.x.x « PHP « IT news, forums, messages
Re: [PHP] Assistance debugging php 5.x.x

Posted by Jochem Maas on 11/23/05 22:13

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация