3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $teams=array('team_one','team_two','team_three'); foreach($teams AS $team) { foreach($teams AS $opposition) { if($team != $opposition) { echo "$team v $opposition\n"; } } }
Output for 4.3.0 - 7.1.0
team_one v team_two team_one v team_three team_two v team_one team_two v team_three team_three v team_one team_three v team_two