Get the App
SLTechnology News&Howtos  ›  Development  › 

What does "=" mean in php?

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

Editor to share with you what is the meaning of. = in php, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.

. = is an assignment operator in php that is used to concatenate two strings, such as the expression "a. = b", which means "a = a. B".

This article operating environment: windows7 system, PHP7.1 version, DELL G3 computer

What does it mean in "php"?

. = is an assignment operator in php that concatenates two strings.

For example, a. = b, which 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 expression. That is, the value of "$x = 5" is 5.

A. B, the concatenation operator, is used to concatenate two strings, such as "Hi". "Ha" is HiHa.

The above is all the contents of the article "what does. = in php mean?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Meaning operator operation two that is characters strings articles expressions content not much that is on the right most that is operands more environment computer Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux Huawei Microsoft Xiaomi