By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,708 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,708 IT Pros & Developers. It's quick & easy.

Classes vers. Functions

P: n/a
Hi,
PHP newbie here...

I've been using static class functions as a means of grouping certain
functions together (e.g. class::function() ). Anybody know if this
carries a performance overhead beoynd the simple function outside a
class?
Thanks,
Rune
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
It sure does, but by very little. Sometimes you need to sacrifice a
little performence to increase usability.

Winston Smith wrote:
Hi,
PHP newbie here...

I've been using static class functions as a means of grouping certain
functions together (e.g. class::function() ). Anybody know if this
carries a performance overhead beoynd the simple function outside a
class?
Thanks,
Rune


Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.