Re: PHP's OO is bad?

From: Date: Sun, 13 May 2001 14:16:01 +0000
Subject: Re: PHP's OO is bad?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52617@lists.php.net to get a copy of this message
Using OO usually results in a significant slowdown. Significant doesn't necessarily mean 50% performance drop; 5% to 20% is not uncommon, and as you said, YMMV. We're working on ways to improve the OO performance, but it's pretty difficult, due to the very dynamic nature of PHP. Zeev At 08:25 13/5/2001, Sean Cazzell wrote:
His series of articles ("top php programming mistakes") is great, and I've heard good things about his "PHP Cookbook" but Hughes is way off here. There is some additional overhead with OO code but there is *very* little difference in speed (less than 5% in synthetic benchmarks, and much less in more complex php code) - certainly not the "signigicant slow down" that he claims.
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.general (#52617) next »