3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $allowed = array('outbound_status_id', 'billing_status_id', 'date_released'); $cleanValues = array('gross'=>1, 'tare'=>2, 'outbound_status_id'=>3); $remaining = array_diff($cleanValues, array_flip($allowed)); print_r($remaining);
based on fIeM0
Output for 4.3.0 - 7.1.0
Array ( [outbound_status_id] => 3 )