php array differ

Solutions on MaxInterview for php array differ by the best coders in the world

showing results for - "php array differ"
Indie
03 Jan 2020
1
2<?php
3$array1 array("a" => "grün""rot""blau""rot");
4$array2 array("b" => "grün""gelb""rot");
5$result = array_diff($array1$array2);
6
7print_r($result);
8?>
9
10