Home > Backend Development > PHP Tutorial > Description of php connectors and parameter separators_PHP Tutorial

Description of php connectors and parameter separators_PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-14 10:07:32
Original
1900 people have browsed it

In PHP, there is only one string operator, the concatenation operator (.) is used to concatenate two string values.

To join two variables together, use the dot operator (.):
Example:
1
2
$txt1="Hello World";
3
$txt2="1234";
4
echo $txt1 .' ' . $txt2;
5
?>
Using . and, is the same result; PHP is a language with loose syntax, array parameters, etc. use parameter separator,

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477862.htmlTechArticleIn PHP, there is only one string operator, the concatenation operator (.) is used to combine two characters String values ​​are concatenated. To join two variables together, use the dot operator (.): ...
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template