Operators Flashcards

0
Q

==

A

Equality
$a == $b
Checks if the left and right values are equal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

=

A

Assignment operator.
$a = 1
Assigns the value on the right to the variable of the left.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

===

A

Identical
$a === $b
Checks if the left and right values are equal AND identical (same variable type)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly