I've got some code which reads in large amounts of data from a database into an array and passes the data between a few functions to display the information I need.
I know in PERL I can use references to save on memory usage when passing arrays, and since PHP has roots in PERL I'm guessing there's a way to do it. A quick search hasn't given me any results, (unless I'm using the wrong terms).
Does anybody use references / pointers in PHP? If so can you point (no pun intended) me to a reference (ok, pun intended
)?
Thanks
I know in PERL I can use references to save on memory usage when passing arrays, and since PHP has roots in PERL I'm guessing there's a way to do it. A quick search hasn't given me any results, (unless I'm using the wrong terms).
Does anybody use references / pointers in PHP? If so can you point (no pun intended) me to a reference (ok, pun intended

Thanks
Comment