DEANO.ME

notice

 

Pulling your hair out over this Notice message? Well here is an explanation for why you are getting this and how you can avoid it. Take a look at the following code: <?php class myClass { public $var = 1; public function &getVar() { return($this->var); } } $obj = new myClass; $value = &$obj->getVar(); ?> […]

+1
Tweet
Share
Share
Stumble
Pin
Email
Shares 0