Home>Article>Backend Development> What are the inequality operators in php?

What are the inequality operators in php?

青灯夜游
青灯夜游 Original
2019-10-19 17:55:13 7609browse

What are the inequality operators in php?

The inequality operators in php include: != and a8093152e673feb7aba1828c43532094. They are all PHP comparison operators, used to compare two values and return true if one value is not equal to the other value.

!=, not equal to operator, returns true if $x is not equal to $y.

a8093152e673feb7aba1828c43532094, not equal to operator, returns true if $x is not equal to $y.

 $y); // 返回 false,因为值相等 ?>

For more PHP related knowledge, please visitphp中文网!

The above is the detailed content of What are the inequality operators 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