3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("te","yes","we","no","1","sdfsdf","Resolved"); $array2 = array("another","no","we","no","0","sdfsdf","Unresolved"); $old = array( 'ONE' => array('a' => 1, 'b' => 2, 'c' => 3), 'TWO' => array('a' => 4, 'b' => 5, 'c' => 6), 'THREE' => array('a' => 7, 'b' => 8, 'c' => 9) ); print_r($old); foreach($array1 as $k=>$v){ /*if(in_array($v,$array2 )){ echo "Value $v exists \n"; }else{ echo "Value $v does not exists \n"; }*/ }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [ONE] => Array ( [a] => 1 [b] => 2 [c] => 3 ) [TWO] => Array ( [a] => 4 [b] => 5 [c] => 6 ) [THREE] => Array ( [a] => 7 [b] => 8 [c] => 9 ) )

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