3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array('Uncategorised', 'Uncategorized'); $array2 = array('Uncategorised', 'Uncategorized', 'Test', 'General'); $result = array_diff($array1, $array2); print_r($result);
based on ntPHa
Output for 4.3.0 - 7.2.0
Array ( )