Re: Objects and Performance

From: Date: Wed, 08 Jun 2005 21:07:43 +0000
Subject: Re: Objects and Performance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216671@lists.php.net to get a copy of this message
On 6/8/05, NSK <nsk3@wikinerds.org> wrote: > Hi, I am creating a small API in PHP, i.e. a collection of reusable functions > for other programmers. As it is now, it is just many functions together in > the same file. Do you think I should make it object-oriented? What are the > pros and cons of this approach in PHP? > > I am particularly very concerned about performance. Are object methods slower > than functions in php? Definitely not scientific but have a look: http://destiney.com/Benchmarks -- Greg Donald Zend Certified Engineer http://destiney.com/

« previous php.general (#216671) next »