I've read a few books about PHP and am learning it while working on a project. I'm confused about objects in PHP. The examples I read come with analogies like a car and its parts etc. I can't figure out how objects can be used in a real project. Can someone guide me about this? In which situations would you use OOPs to make a task easier?
If this question has been covered here in some sticky thread already, could you please point me to it.