Payne's PHP Notes

Back to Payne's PHP Notebook.

3. Arrays

Three Types of Arrays:

Operators

Operator Example Description
+ $x + $y Union of $x and $y.
== $x == $y True if $x and $y have the same key/value pairs.
=== $x === $y True if $x and $y have the same key/value pairs in the same order and of the same type.
!= $x != $y True if $x is not equal to $y.
<> $x <> $y True if $x is not equal to $y.
!== $x !== $y True if $x is not idential to $y.