You can actually write "Procedural" code that follows some of the principles of OOP, so the two are not necessarily opposites. ... Your understanding will really grow once you learn other object-oriented programming languages, among which, PHP is a "new kid on the block".