Quick actions

cmd+k|ctrl+k

Navigation

Languages

rand 100 into 10 groups

Snippet info

Language

Php

Visibility

public

Author

zjmainstay

Created

2016-07-11T05:00:54Z

Updated

2016-07-11T05:00:54Z

<?php

$range = range(1, 100);
shuffle($range);

$groups = array_chunk($range, 10);

print_r($groups);
INFO