Welcome Guest, Not a member yet? Register   Sign In
result() vs. result_array() ?
#8

For all practical reasons I agree with everyone else - it doesn't matter. There is a very slight performance edge using objects, since they don't require the extra memory allocation that an array uses, but objects are much less flexible. And optimizing this at the point of your development that any of use probably in? A waste of time. Smile

Me - I have a tendency to use objects when I can, simply because I prefer the syntax. The more I work with complex applications, though, the more I standardize on arrays since there are so many useful functions in PHP for arrays.
Reply


Messages In This Thread
result() vs. result_array() ? - by suhindra - 03-08-2015, 11:30 PM
RE: result() vs. result_array() ? - by Narf - 03-09-2015, 02:47 AM
RE: result() vs. result_array() ? - by gcdsm12 - 03-09-2015, 05:06 AM
RE: result() vs. result_array() ? - by spjonez - 03-15-2015, 07:57 AM
RE: result() vs. result_array() ? - by sajid19991 - 03-15-2015, 12:29 PM
RE: result() vs. result_array() ? - by RobertSF - 03-15-2015, 01:11 PM
RE: result() vs. result_array() ? - by suhindra - 03-15-2015, 07:49 PM
RE: result() vs. result_array() ? - by kilishan - 03-16-2015, 11:36 AM
RE: result() vs. result_array() ? - by attrox - 03-18-2015, 04:30 PM
RE: result() vs. result_array() ? - by RobertSF - 03-18-2015, 07:20 PM
RE: result() vs. result_array() ? - by swand - 04-14-2015, 01:42 PM
RE: result() vs. result_array() ? - by rejoan - 04-21-2015, 12:45 AM
RE: result() vs. result_array() ? - by Narf - 04-21-2015, 02:05 AM
RE: result() vs. result_array() ? - by samiul1978 - 12-15-2019, 11:30 AM
RE: result() vs. result_array() ? - by InsiteFX - 12-16-2019, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB