<?php class Math { public int $x; public int $y; public function __construct($x, $y) { $this->x = $x; $this->y = $y; } public function add() { return $this->x + $this->y; } public function __set($key, $val) { $this->x = $val; } } $math = new Math(5,10); unset($math->x); echo $math->add();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`