Php Get Random Array Python Definition Function Math