PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Pretty awful if I'm honest. You'd have to maintain both the array AND the random number range, the variable names are meaningless, plus you don't need half the code in order to do a better job. Just create a normal array of image names and shuffle it. Eg