Skip to content

Instantly share code, notes, and snippets.

@Art4
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Art4/f9286183ac43542a7ce1 to your computer and use it in GitHub Desktop.
Save Art4/f9286183ac43542a7ce1 to your computer and use it in GitHub Desktop.
5 User:
- A
- B
- C
- D
- E
<?php
$varianten = array(
'A-B',
'A-C',
'A-D',
'A-E',
'B-C',
'B-D',
'B-E',
'C-D',
'C-E',
'D-E',
);
shuffle($varianten);
foreach ($varianten as $variante) {
echo $variante . '<br />';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment