better to define the specific class that the variable will be like this
Code: Select all
$this->author = new user();Code: Select all
$this->friends = array();or if i should i just define it as:
Code: Select all
$this->author = null;
$this->friends = null;