PHP Comparison Operators | How we use it - Hindi

Опубликовано: 20 Январь 2025
на канале: Poori Padhai
70
4

This video covers all PHP comparison operators like Equal operator, Identical operator, Not equal operator, Not identical operator, Greater than operator, Less than operator, Greater than or equal to operator, Less than or equal to operator, Spaceship operator.
The PHP comparison operators are used to compare two values (number or string):



-----------------------------------------------------------------
Operator Name Example Result
-----------------------------------------------------------------
== Equal $x == $y Returns true if $x is equal to $y
=== Identical $x === $y Returns true if $x is equal to $y, and they are of the same type
!= Not equal $x != $y Returns true if $x is not equal to $y
!== Not identical $x !== $y Returns true if $x is not equal to $y, or they are not of the same type
greater than zero, depending on if $x is less than, equal to, or greater than $y. Introduced in PHP 7.

How to use PHP Comparison Operators
Why we use PHP Comparison Operators


#PHP
#PHPComparisonOperators
#PHPinHindi
#PHPTutorial

Facebook -   / pooripadhai  
Twitter -   / pooripadhai  
Pooripadhai - https://pooripadhai.com/