Javascript Array Get Values Php Compiler Code Python