<?php $input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank"); $randomize = array_slice($input,0,3); $keep_safe = array_slice($input,3); shuffle($randomize); print_r(array_merge($randomize,$keep_safe));
You have javascript disabled. You will not be able to edit any code.