I'm currently learning OOP in php and enjoying it, but I do have one question. Is there a general guideline that one can follow to determine if a particular problem should be solved in OOP vs procedural programming?

So far I find one of PHP's strengths is it's ability to switch from OOP to procedural if the situation requires it. However how do you know when to make the switch to OOP?