php中 $this->...= ,&,的用法是什么$this->srvMobile = $srvMobile;$this->srvMobile = &$srvMobile;$this->buddyID = $this->buddyArray['id'];$s = serialize($this->sessionArr);就题目的意思麻烦各位帮我解答下这几个语句.还有=,==,==
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/21 02:34:45
![php中 $this->...= ,&,的用法是什么$this->srvMobile = $srvMobile;$this->srvMobile = &$srvMobile;$this->buddyID = $this->buddyArray['id'];$s = serialize($this->sessionArr);就题目的意思麻烦各位帮我解答下这几个语句.还有=,==,==](/uploads/image/z/8557003-19-3.jpg?t=php%E4%B8%AD+%24this-%3E...%3D+%2C%26%2C%E7%9A%84%E7%94%A8%E6%B3%95%E6%98%AF%E4%BB%80%E4%B9%88%24this-%3EsrvMobile+%3D+%24srvMobile%3B%24this-%3EsrvMobile+%3D+%26%24srvMobile%3B%24this-%3EbuddyID+%3D+%24this-%3EbuddyArray%5B%27id%27%5D%3B%24s+%3D+serialize%28%24this-%3EsessionArr%29%3B%E5%B0%B1%E9%A2%98%E7%9B%AE%E7%9A%84%E6%84%8F%E6%80%9D%E9%BA%BB%E7%83%A6%E5%90%84%E4%BD%8D%E5%B8%AE%E6%88%91%E8%A7%A3%E7%AD%94%E4%B8%8B%E8%BF%99%E5%87%A0%E4%B8%AA%E8%AF%AD%E5%8F%A5.%E8%BF%98%E6%9C%89%3D%2C%3D%3D%2C%3D%3D)
php中 $this->...= ,&,的用法是什么$this->srvMobile = $srvMobile;$this->srvMobile = &$srvMobile;$this->buddyID = $this->buddyArray['id'];$s = serialize($this->sessionArr);就题目的意思麻烦各位帮我解答下这几个语句.还有=,==,==
php中 $this->...= ,&,的用法是什么
$this->srvMobile = $srvMobile;
$this->srvMobile = &$srvMobile;
$this->buddyID = $this->buddyArray['id'];
$s = serialize($this->sessionArr);
就题目的意思麻烦各位帮我解答下这几个语句.
还有=,==,===的区别是什么呢
php中 $this->...= ,&,的用法是什么$this->srvMobile = $srvMobile;$this->srvMobile = &$srvMobile;$this->buddyID = $this->buddyArray['id'];$s = serialize($this->sessionArr);就题目的意思麻烦各位帮我解答下这几个语句.还有=,==,==
$this->srvMobile = $srvMobile;
访问类成员srvMobile并且给其覆值,
$this->buddyID = $this->buddyArray['id'];
访问类成员buddyID并且给其覆值,其中的值为类成员方法buddyArray['id']所得的值
$s = serialize($this->sessionArr);
serialize($this->sessionArr)函数所得值覆给变量$s,其中$this->sessionArr为类成员essionArr
参考教程
=是覆值
==是两个不区分类型的变量相比较
===是两个区分类弄的变量相比