3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $from = array('en', 'fr'); $new = array('en'); var_dump(array_diff($from, $new));
Output for 4.3.0 - 7.1.0
array(1) { [1]=> string(2) "fr" }