php中+=符号相当于加号运算符,表示两个变量相加,语法是“x += y”即“x = x + y”;php中.=符号表示连接两个字符串,语法是“a .= b”即“a = a . b”。
php入门到就业线上直播课:进入学习
Apipost = Postman + Swagger + Mock + Jmeter 超好用的API调试工具:点击使用
本文操作环境:Windows7系统、PHP7.1、Dell G3电脑。
php += .= 什么意思?
看一下式子:
x += y 相当于 x = x + y,表示 加;
a .= b 相当于 a = a . b,表示连接两个字符串。
推荐学习:《PHP视频教程》
以上就是php += .= 什么意思的详细内容,更多请关注php中文网其它相关文章!