Php Array Object Vs Class Python Documentation