比较操作符_PHP

WBOY
Release: 2016-06-01 12:39:44
Original
735 people have browsed it

比较操作符,正如它的名字所示,允许您比较两个值。

 

Table 7-4. Comparson Operators(表7-4 比较操作符)

example name result?/FONT>
$a == $b Equal?/FONT> True if $a is equal to $b.?/FONT>
$a != $b Not equal True if $a is not equal to $b.?/FONT>
$a True if $a is strictly less than $b.?/FONT>
$a > $b Greater than?/FONT> True if $a is strictly greater than $b.?/FONT>
$a True if $a is less than or equal to $b.?/FONT>
$a >= $b Greater than or equal to?/FONT> True if $a is greater than or equal to $b.






Related labels:
source:php.cn
Statement of this Website
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!