To organize better codes complexes, to better handle extended domains. Yes, do OOP in scripts, Fleeting, simple, not advantageous applications. But luckily many people don’t do OOP on these things, even though they say they do.
OOP is fashionable if you consider that people use where they shouldn’t. Modinha is not something fleeting, it is something that is only being used because people use it, without a clear reason. It is not modinha when used where it is useful. It’s very modinha when the person says what is doing and is not even, she just wants to be part of the group that’s "pumping". And as I said in previous answer, is teen sex.
The creation of OOP has nothing of modinha. Most of the technologies are not modinhas. The same cannot be said of various methodologies that were even created to meet a need, but fail to deliver.
It is like carrying a gun, just to take an example. It is useful, but to defend that everyone should be able to have a gun is modinha. Doesn’t meet a real need, but a made-up one.
In PHP in general it is modinha. Has case that is not, but it is rare. And honestly when it’s appropriate, it’s usually the wrong language for that problem. PHP is more languages than script that exists, until the way of naming variable indicates it. Putting OOP in PHP was and is still modinha. Of course the most accurate definition of this is survival. Today few things need scripts (or even has several, but that you create in a snap of fingers and encloses, does not generate work), the thick of the development are on top of complex things. Without OOP the language would define a very small niche, which happened with Perl. But then the language became inconsistent.
OOP is much harder to understand and do right, so much so that almost everyone does wrong. It’s very common for people to complicate their design to try to be OOP without bringing any advantage.
OOP is great in these cases of many relationships between objects, when objects are very complex, when there are subtype relations, hierarchies. GUI benefits greatly from this. Games often benefit, some types of business, but far more rare. Frameworks and more complex libraries can benefit greatly.
I stress that the answer says that OOP and PE are very different things. I would like everyone to read the links there to understand a little more about OOP (I know I didn’t fully respond) and understand that structured programming is something very simple and focuses on another aspect of programming that OOP doesn’t focus on. Structured programming is not about code organization, it’s about algorithm flow.
"it is possible that specific tasks are easier to do in one paradigm than in another" no longer answers that question?
– Woss
Long story short: OO focuses a lot on encapsulation and can even be used in C; OO support in the language allows you to use the good things of OO in a leaner syntax
– Jefferson Quesado
For the same reason that with horses you would go anywhere, but still there were those who wanted to invent cars and trains.
– Oralista de Sistemas