我有两个构造函数:
function clsUsagerEmailUserName($nickName, $email)
{
$this->nickName = $nickName;
$this->email = $email;
}
function clsUsagerEmailUserName($email)
{
$this->email = $email;
}
但这不起作用?怎么了,这个版本的PHP不应该是OO吗?(我刚从 PHP4 迁移过来)