Could you please explain me pros and cons of PHP with OOPs ? which programming style (Object oriented or procedure oriented approach) is best in PHP ? which one to choose for doing a project in PHP ?
OOP is much cleaner and more maintainable. There are really no advantages to using procedural programming, besides maybe a few less lines of code (which should be irrelevant since you write the code faster with OOP). If you're not going to release your project to the public, I'd say go OOP, hands down.
Comment