3v4l.org

run code in 300+ PHP versions simultaneously
<?php function callback($a, $b) { echo "\$a = $a; \$b= $b; "; echo "<br>\n"; return 0; } $array1 = array("first_0", "first_1", "first_2", "first_3", "first_4" ); $array2 = array("second_0", "second_1", "second_2", "second_3", "second_4"); $result = array_udiff($array1, $array2, "callback");
Output for git.master, git.master_jit, rfc.property-hooks
$a = first_0; $b= first_1; <br> $a = first_1; $b= first_2; <br> $a = first_2; $b= first_3; <br> $a = first_3; $b= first_4; <br> $a = second_0; $b= second_1; <br> $a = second_1; $b= second_2; <br> $a = second_2; $b= second_3; <br> $a = second_3; $b= second_4; <br> $a = first_0; $b= second_0; <br> $a = first_0; $b= first_1; <br> $a = first_1; $b= first_2; <br> $a = first_2; $b= first_3; <br> $a = first_3; $b= first_4; <br>

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:
46.64 ms | 402 KiB | 8 Q