Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
2 months 3 weeks ago #3519 by Elias Katsaniotis,MSc Functions do specific things, classes are specific things. Classes often have methods, which are functions that are associated with a particular class, and do things associated with the thing that the class is - but if all you want is to do something, a function is all you need.
- Q&A Forum
- Index
- PHP
- What is difference between class and function?
Time to create page: 0.075 seconds