Home >Backend Development >PHP Tutorial >圆括号外面的两个点是干什么的?

圆括号外面的两个点是干什么的?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:39:421510browse

不是字符串连接吧
'.($i+1).'


回复讨论(解决方案)

对 就是 

点 是字符串连接符

你的原句应该是'<a href="blog.php?page='.($i+1).'">'.($i+1).'</a>';.用于拼接字符串

是用来拼接字符串的。

点 是字符串连接符,如果你学过java的话,这个点就相当于java里的+

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn