Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get diff array php

$a=[1,2,3];
$b=[2,4,6];
$x = array_diff($b,$a);
echo "<pre>";
print_r($x);
Source by php.addin.my.id #
 
PREVIOUS NEXT
Tagged: #diff #array #php
ADD COMMENT
Topic
Name
8+1 =