3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test[] = 1253; $test[] = 1253; $test[] = 5342; $test2[] = 1253; $test2[] = 5342; $test2[] = 6478; $final = array_merge($test, $test2); echo '<pre>'; var_dump($final); echo '</pre>'; $final = array_unique($final); echo '<pre>'; var_dump($final); echo '</pre>'; $final = array_unique($final); echo '<pre>'; var_dump($final); echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
<pre>array(6) { [0]=> int(1253) [1]=> int(1253) [2]=> int(5342) [3]=> int(1253) [4]=> int(5342) [5]=> int(6478) } </pre><pre>array(3) { [0]=> int(1253) [2]=> int(5342) [5]=> int(6478) } </pre><pre>array(3) { [0]=> int(1253) [2]=> int(5342) [5]=> int(6478) } </pre>

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