.= what does it mean in php

藏色散人
Release: 2023-03-14 19:30:01
Original
2654 people have browsed it

.= is an assignment operator in PHP, used to connect two strings. For example, the expression "a .= b" also means the expression "a = a . b".

.= what does it mean in php

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

.= What does php mean?

.= is an assignment operator in PHP, used to connect two strings.

For example, a .= b means a = a . b.

Note:

In PHP, the basic assignment operator is "=".

It means that the left operand is set to the value of the right-hand expression. That is, the value of "$x = 5" is 5.

a . b, concatenation operator, used to connect two strings, such as "Hi" . "Ha" is HiHa.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of .= what does it mean in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
.=
source:php.cn
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