3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pole1 = array(1,15,18,19,22); $pole2 = array(2,7,18,19,23); $pole3 = array_diff($pole1, $pole2); var_dump($pole3); echo "\n\r"; var_dump(array_diff($pole2, $pole3));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> int(1) [1]=> int(15) [4]=> int(22) } array(5) { [0]=> int(2) [1]=> int(7) [2]=> int(18) [3]=> int(19) [4]=> int(23) }

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