PHP 中字符串连接运算符
PHP 中用于连接字符串的运算符是点(.
)。它将两个字符串值连接在一起,形成一个新的字符串。
该运算符的语法如下:
<code>$new_string = $string1 . $string2;</code>
PHP 中字符串连接运算符
PHP 中用于连接字符串的运算符是点(.
)。它将两个字符串值连接在一起,形成一个新的字符串。
该运算符的语法如下:
<code>$new_string = $string1 . $string2;</code>
之前