x=$uusX; $this->y=$uusY; } } $p=new Punkt(3, 5); echo $p->x." "; $p2=new Punkt(); echo $p2->x; ?>