<?php $test = array('1', '2', '3', '4',); shuffle($test); foreach ($test as $text) { echo "$text \r\n"; } ?>
1 2 4 3