0
Php functions over php classes
What is important of php functions over php classes
2 ответов
0
Functions are for single use at a time, process some information and return the result. A class is for having a collection of information and functions and have multiple instances of those collections. This is not just for PHP but for all object oriented enabled languages.
0
Class is collection of data information and functions, function is just a function .