Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

!array_push($stack, "apple", "raspberry");

<?php
$array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
$array2 = array("a" => "green", "yellow", "red");
$result = array_diff_assoc($array1, $array2);
print_r($result);

// Outputs:
Array
(
    [b] => brown
     => blue
    [0] => red
)
Source by www.siphor.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+4 =