例子:
<html>
<head>
<title></title>
</head>
<body>
<?php
class Employee {
private $name;

function _get($propName) {
echo "_get called!<br />"; // 并且不能输出任何字串

return $this->$propName;
}

function _set($propName, $propValue) {
$this->$propName = $propValue;
}
}

$employee = new Employee();
$employee->name = "Mario";

echo $employee->name."<br />";
?>
</body>
</html>为什么会这样子?是不是要开启什么参数?