Defination :
The symbol of this operator is != or <>.
If you use this operator in the program, it first matches the key and value of the first array with the other array.
If the values do not match, it returns true; otherwise, it returns false as output.
Syntax:
$array1 != $array2
Example:
<?php
$array1 = array("a" => "Pen");
$array2 = array("a" => "Copy");
var_dump($array1 != $array2);
?>
Output:
bool(true)
