3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ ["ref" => "bee898d8739aa8b2212", "place" => "Berlin"], ["ref" => "ygz121byr46dl4795eu", "place" => "Paris"], ["ref" => "cer123bur45dl4795ef", "place" => "New-York"], ["ref" => "abc123abc12ab1234ab", "place" => "London"] ]; $b = [ ["ref" => "ygz121byr46dl4795eu", "place" => "Paris"], ["ref" => "cer123bur45dl4795ef", "place" => "New-York"] ]; var_export( array_udiff($a, $b, fn($rowA, $rowB) => $rowA['ref'] <=> $rowB['ref']) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'ref' => 'bee898d8739aa8b2212', 'place' => 'Berlin', ), 3 => array ( 'ref' => 'abc123abc12ab1234ab', 'place' => 'London', ), )

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