Are there any better benefits of writing PHP script with OOP
(Object Oriented Programming) than PP (Procedual Programming)??
I understand the general benefits of OOP, but PHP is a
scripting language like Perl, so it is interpreted by the PHP
interpreter and then executed line by line, so what's the good
use of classes if the script is not compiled before it is deployed
like Java?? Instead of writing classes, you can just write
functions in one file and it can be included in other pages.