3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = array( array('value' => '/m/b/mb01-blue-0.jpg'), array('value' => '/m/b/mb04-black-0.jpg'), array('value' => '/m/b/mb04-black-0.jpg'), ); $second = array( 0 => '/m/b/mb01-blue-0.jpg', 1 => '/m/b/mb04-green-0.jpg', 2 => '/m/b/mb04-blue-0.jpg' ); $diff = array_diff(array_column($first, 'value'), $second); print_r($diff);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [1] => /m/b/mb04-black-0.jpg [2] => /m/b/mb04-black-0.jpg )

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:
83.81 ms | 405 KiB | 5 Q