 <p>You'll get warnings if you access a class variable before it's been created if you're running in a strict mode, but otherwise you can define them anywhere - on that score PHP doesn't care at all if you do it first thing in the class or deep within the bowels of a method</p>