Home > Article > Backend Development > What does == mean in php
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.
#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!