mercredi 18 juillet 2018

PHP - change the elements of an array randomistically

How can I change the elements of an array randomistically? for example :

$arr = array('one', 'two', 'three', 'four', 'five'); change to : $new_arr = array('five', 'one', 'three', 'four', 'two'); or...




Aucun commentaire:

Enregistrer un commentaire