Home > Backend Development > PHP Tutorial > Comparison Operator_PHP Tutorial

Comparison Operator_PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:26:14
Original
867 people have browsed it

The comparison operator, as its name suggests, allows you to compare two values.
 
Table 7-4. Comparson Operators (Table 7-4 comparison operators)
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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531977.htmlTechArticleThe comparison operator, as its name suggests, allows you to compare two values. Table 7-4. Comparson Operators (Table 7-4 Comparison operators) example name result?/FONT> $a == $b Equal?/FONT>...
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 admin@php.cn
Latest Issues
比较 JavaScript 的 Date 对象
From 1970-01-01 08:00:00
0
0
0
github - 有哪些比较好的 git工作流?
From 1970-01-01 08:00:00
0
0
0
php - 现在哪些直播服务比较好
From 1970-01-01 08:00:00
0
0
0
vim - 有没有比较优秀的shell插件
From 1970-01-01 08:00:00
0
0
0
javascript - 有没有比较好的分页组件
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template