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. ??? Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/149094-objects-arrays/#findComment-783588 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.