3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [ ["module1", "path/to/file.txt", ""], ["module2", "path/to/file2.txt", ""], ]; $array2 = [ ["module1", "path/to/file.txt", ""] ]; var_export( array_udiff($array1, $array2, fn($a, $b) => $a <=> $b) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 1 => array ( 0 => 'module2', 1 => 'path/to/file2.txt', 2 => '', ), )

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