PHP - Classes and Objects
What will be the output of the following PHP code?
class Test {
private $secret = 'hidden';
public function reveal() {
return $this->secret;
}
}
$obj = new Test();
echo $obj->reveal();