This question already has an answer here:
- When to use a Class vs. Function in PHP 6 answers
Functions using inside class and without the class, both have similar levels of work for small projects. Then why do professionals suggests to use classes instead of using simple direct function in PHP?
</div>