Home  >  Article  >  Backend Development  >  What does == mean in php

What does == mean in php

藏色散人
藏色散人Original
2021-02-23 10:18:537025browse

The == symbol in php means "equal to" and is a comparison operator. How to use it: first create a PHP sample file; then define two variables; finally use "==" to judge the two It only matters if the variables are equal.

What does == mean in php

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

What does == mean in php?

x == y

means equal to

If x is equal to y, return true

5==8 Return false.

Recommended: "PHP Video Tutorial"

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

Statement:
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