Skip to content

Instantly share code, notes, and snippets.

@syads321
Created June 9, 2014 03:46
Show Gist options
  • Save syads321/0471fd153a2d27c19a81 to your computer and use it in GitHub Desktop.
Save syads321/0471fd153a2d27c19a81 to your computer and use it in GitHub Desktop.
<?php
$my_array = array("red","green","blue","yellow","purple");
shuffle($my_array);
print_r($my_array);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment