PHP - Classes and Objects
What will be the output of this PHP code?
class Person {
public $name;
public function __construct() {
$this->name = 'Alice';
}
}
$person = new Person();
echo $person->name;