3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array ( 0 => array ( 'id' => '6662', ), 1 => array ( 'id' => '6656', ), 2 => array ( 'id' => '6657', ), 3 => array ( 'id' => '6527', ), 4 => array ( 'id' => '6528', ), 5 => array ( 'id' => '6529', ), ); $arr2 = array ( 0 => array ( 'id' => '6527', ), 1 => array ( 'id' => '6528', ), 2 => array ( 'id' => '6529', ), ); var_dump(array_diff(array_column($arr1, "id"), array_column($arr2, "id")));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(4) "6662" [1]=> string(4) "6656" [2]=> string(4) "6657" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
110.97 ms | 405 KiB | 5 Q