3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $teams=array('team_one','team_two','team_three'); $l = count($teams); for($i=0;$i <$l;$i++){ $t2 = $teams[$i]; foreach($teams as $t){ if($t != $t2 ) echo $t ." VS ". $t2. "\n"; } }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
team_two VS team_one team_three VS team_one team_one VS team_two team_three VS team_two team_one VS team_three team_two VS team_three