Comparing Arrays in PHP <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>PRO</a></font>

PHP allows us to compare two arrays using the == and the === operators. The following code sample together with the video clip that follows explain the way each one of these two operators work. <?php //$a = [‘a’=>’avodado’,’b’=>’bamba’,’c’=>’calco’]; //$b = [‘b’=>’bamba’,’a’=>’avodado’,’c’=>’calco’]; $a = [123,455,323]; $b = [323,123,455]; if($a==$b) { echo “a and b equal”; […]