Contact: aviboots(AT)netvision.net.il
41,226 questions
53,728 answers
573 users
class Test { private int $x = 1000; // Explicitly specifying the type public function getX(): int { return $this->x; } } $T = new Test(); echo $T->getX(); /* run: 43 */