- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
5 months 4 weeks ago#3518by EliasWhat is difference between class and function?
- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
5 months 4 weeks ago#3519by EliasFunctions 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
- Index
- PHP
- What is difference between class and function?
Time to create page: 0.065 seconds