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)? Quote 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. Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.