Php Get Key Value From Array Python