3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $kams = array( array('id' => '1','name' => 'Helmut Gall'), array('id' => '2','name' => 'Norbert Kreier'), array('id' => '3','name' => 'Thilo Kurtz'), array('id' => '4','name' => 'Franz Engelhardt'), array('id' => '5','name' => 'Wolfgang Christmann'), array('id' => '6','name' => 'Johann Kerschensteiner'), array('id' => '7','name' => 'Daniel Roppelt'), array('id' => '8','name' => 'Klaus Markert'), array('id' => '9','name' => 'Ludwig Nagel'), array('id' => '10','name' => 'Peter Bohnacker') ); $kams1 = array( array('id' => '1','name' => 'Helmut Gall'), array('id' => '2','name' => 'Norbert Kreier'), array('id' => '3','name' => 'Thilo Kurtz'), array('id' => '7','name' => 'Daniel Roppelt'), array('id' => '8','name' => 'Klaus Markert'), array('id' => '9','name' => 'Ludwig Nagel'), array('id' => '10','name' => 'Peter Bohnacker') ); print_r(@array_diff_assoc($kams,$kams1)); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [7] => Array ( [id] => 8 [name] => Klaus Markert ) [8] => Array ( [id] => 9 [name] => Ludwig Nagel ) [9] => Array ( [id] => 10 [name] => Peter Bohnacker ) )