x_maras Posted March 12, 2009 Share Posted March 12, 2009 is it possible to have objects arrays in php, just like java. An array which is a type of a specific class and can store more objects of this type in it. ??? Link to comment https://forums.phpfreaks.com/topic/149094-objects-arrays/ Share on other sites More sharing options...
Maq Posted March 12, 2009 Share Posted March 12, 2009 is it possible to have objects arrays in php, just like java. An array which is a type of a specific class and can store more objects of this type in it. ??? Why don't you try it and find out? Link to comment https://forums.phpfreaks.com/topic/149094-objects-arrays/#findComment-782871 Share on other sites More sharing options...
x_maras Posted March 13, 2009 Author Share Posted March 13, 2009 Sorry, I feel so stupid, I was trying it and couldnt make it work because I was using "." instead of "->". Ok problem solved. Link to comment https://forums.phpfreaks.com/topic/149094-objects-arrays/#findComment-783588 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.