phpknight Posted March 3, 2008 Share Posted March 3, 2008 Hi, I've been out of OOP for so long, I am slightly confused about something in PHP. In a function, can I create and return an array of objects (as in class objects)? Link to comment https://forums.phpfreaks.com/topic/94126-returning-an-array-of-objects/ Share on other sites More sharing options...
trq Posted March 3, 2008 Share Posted March 3, 2008 Of course. Link to comment https://forums.phpfreaks.com/topic/94126-returning-an-array-of-objects/#findComment-482149 Share on other sites More sharing options...
phpknight Posted March 3, 2008 Author Share Posted March 3, 2008 Indeed, it is true. Thanks! Link to comment https://forums.phpfreaks.com/topic/94126-returning-an-array-of-objects/#findComment-482251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.