我知道要在php中连接字符串,应该使用一个点:
echo 'hello' . ' world'; // hello world
但顺便说一下我输入了这个:
echo 'hello' , ' world';
结果仍然是你好世界没有任何错误.
为什么会这样?我们还可以使用逗号连接吗?
php language-features
language-features ×1
php ×1