Php Get Random Array Python Initialize Class