3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ArrayA = ["Genre1" => 1, "Genre2" => 2, "Genre3" => 3, "Genre4" => 4]; $ArrayB = [1, 2, 3]; print_r(array_diff($ArrayA, $ArrayB));
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [Genre4] => 4 )

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:
51.89 ms | 401 KiB | 8 Q