Php Program Using Array In Python For Loop