3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $langs = array('en', 'de', 'pt', 'pl'); $arr = array_values(array_diff($langs, array('pl'))); print_r($arr);
Output for 4.3.0 - 7.1.0
Array ( [0] => en [1] => de [2] => pt )