Answers for "php array differ"

PHP
0

php array differ

<?php
$array1 = array("a" => "grün", "rot", "blau", "rot");
$array2 = array("b" => "grün", "gelb", "rot");
$result = array_diff($array1, $array2);

print_r($result);
?>
Posted by: Guest on January-11-2021

Browse Popular Code Answers by Language