On 6/8/05, NSK <nsk3@xxxxxxxxxxxxx> 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php