3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$rowsAmounts = array( 5 => 50, 6 => 60, 8 => 80, 10 => 100, 13 => 130,);$confirmedRowsByConditions = array( 8 => 1515.1, 10 => 8984.1,);print_r(array_diff_key($rowsAmounts, $confirmedRowsByConditions));
Output for 5.4.0 - 5.4.32
<?php$rowsAmounts = array( 5 => 50, 6 => 60, 8 => 80, 10 => 100, 13 => 130,);$confirmedRowsByConditions = array( 8 => 1515.1, 10 => 8984.1,);print_r(array_diff_key($rowsAmounts, $confirmedRowsByConditions));