[eluser]IamPrototype[/eluser]
Hi guys!
I've read a lot about PHP5 standards, but I was wondering if there were any - special - OOP standard in PHP5?
Btw, what is the "right" why to declare variables in the start of a class? I've seen a guy doing this.
Code:
public $name = "John Doe";
Step away from public... and tell me if that's a way to do it or a wrong way to do it?
I like doing this (mostly because I've seen a lot people are doing it like this).
Code:
public var $name = "John Doe";
Any links with PHP5 OOP standards would be nice! Thanks!