3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array("a" => "green", "red", "blue", "red"); $array2 = array("b" => "green", "yellow", "red"); $result = array_diff($array1, $array2); ?>
based on a2joe
Output for 4.3.0 - 7.3.0rc4