Home > Backend Development > PHP Problem > php += .= what does it mean?

php += .= what does it mean?

藏色散人
Release: 2023-03-13 22:46:01
Original
3924 people have browsed it

The = symbol in php is equivalent to the plus operator, which means adding two variables. The syntax is "x = y" or "x = x y"; the .= symbol in php means connecting two strings. The syntax is "a .= b" or "a = a . b".

php += .= what does it mean?

#The operating environment of this article: Windows7 system, PHP7.1, Dell G3 computer.

php = .= What does it mean?

Look at the formula:

  • x = y is equivalent to x = x y , which means addition;

  • a .= b is equivalent to a = a . b , which means concatenating two strings.

php += .= what does it mean?

Recommended study: "PHP Video Tutorial"

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

Related labels:
php
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