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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-20 12:39:42
Original
1509 people have browsed it

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


回复讨论(解决方案)

对 就是 

点 是字符串连接符

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

是用来拼接字符串的。

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

Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template