Php Get Attribute From Array Python Memory