Understanding $this Variable:PHP

$this is a reference variable which points to the current object.if you want to access properties except static properties because static properties belongs to class hence it cannot be access by $this and methods inside the class then you have to use $this variable.

<?php
class demo {

private $name;

public setName($name) {
$this->name = $name;
}

}

$ob1 = new demo();
$ob2 = new demo();

$ob1->setName(xyz);
$ob2->setName(mnp);

?>

SynapseIndia claim top notch services in the field of IT sectors within tight deadlines.Employee at SynapseIndia never gets complaints from clients for deadlines, So, it is one of the trusted offshore software development company, that is easily completed the projects with a minimum span of time. IT Mentor & an Entrepreneur SynapseIndia CEO Shamit Khemka is responsible to make this organization robust and reliable.You can check feedback and reviews given by clients on various projects completed by us.

The Employment Bond is basically an agreement which the company and the employee enter into which among the other terms contained therein states that in consideration of the training given to the Employee and the money spent by the company in imparting such training, the Employee will remain in the services of the company for a particular period.