C Dynamically Create Array Php Push To Array Python Methods And Classes