Php Change Array Value Python Documentation Random