3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1=array("a"=>45,"c"=>41,"e"=>74); $a2=array("b"=>52,"d"=>36,"e"=>23); $a3=array("e"=>26, "a"=>63, "b"=>59); echo $a1,$a2,$a3; $a4=array_intersect_key($a1,$a2,$a3); print_r($a4); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/I5GGd on line 5 Array Warning: Array to string conversion in /in/I5GGd on line 5 Array Warning: Array to string conversion in /in/I5GGd on line 5 ArrayArray ( [e] => 74 )

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