3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array ( "a" => "0,1", "b" => "0,0", "c" => "0,2", "d" => "0,3", "e" => "10,2" ); $b = Array ( 1 => "0,3", 2 => "10,2" ); $intersect = array_intersect($a, $b); Var_dump($intersect); Echo "matching keys is: " . Implode(", ", array_keys($intersect));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["d"]=> string(3) "0,3" ["e"]=> string(4) "10,2" } matching keys is: d, e

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