+ 5
Can i use only functional programming with php?
2 ответов
+ 12
Of course you can. But I would say it is a bad practice since PHP supports OOP. Personally, I hate to work with PHP scripts that use functional programming. They look like a mess. Object oriented scripts are more organized, easy to read and scale.
+ 1
Yes, Of course, PHP supports both object-oriented programming and procedural programming.