Get the App
SLTechnology News&Howtos  ›  Development  › 

What does php point equals to mean

Shulou Source: shulou.com Published: 2022-06-01 18:38:44 10月04日 Update

In this article, the editor introduces in detail "what the php point equals to", the content is detailed, the steps are clear, and the details are handled properly. I hope this "php point equals to what" article can help you solve your doubts.

In php, the point equals ". =" means "concatenation character", and the syntax "string 1 = string 2" is used to append the string on the right side of the equal sign to the string on the left, that is, to concatenate two strings into a new string and assign a value to the variable on the left.

Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

In php, a dot equals ". =" means "concatenated character", and two strings can be concatenated into a new string.

Syntax:

$string1. = string2

Appends the string to the right of the equal sign to the string on the left.

Stitching characters can be used not only with ". =", but also with "." Connector, which splices two or more strings into a new string.

Syntax:

$string = string1.string2.string3. .stringn

Example:

After reading this, the article "what does the php point mean" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, you are welcome to follow the industry information channel.

Tags: Characters strings two articles grammar content right meaning equal sign proper function variables ideas tutorials new knowledge more steps environment computer knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi NVidia MySQL Xiaomi Shulou Information