"William N. Zanatta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > It is a known issue that function calls are expensive for the processor. > > The OOP let us better organize the code but, thinking in function (or > method) calls it may be more expensive than in the procedural form. > > My question is, has anyone made any tests regarding the performance of > OOP versus procedural language? Is it a good choice to code in OOP with > PHP ?
I would say, that web app model is so inefficient in itself, that you can hardly do anything to make things significantly worse or better performance wise. Also OOP is extensively used in other environments, and unless you are coding critical device drivers, it is rarely to "expensive" in terms of processing time. So my advice would be use OOP, and take benefit of better organization of your code. Just my 2c. rush -- http://www.templatetamer.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php