NYCPHP Meetup

NYPHP.org

[nycphp-talk] array of object being passed by reference problem

Adam Maccabee Trachtenberg adam at trachtenberg.com
Fri Dec 5 11:34:09 EST 2003


On Fri, 5 Dec 2003, Jeff Barrett wrote:

> The problem seems to lie in how I am passing the array of objects to the
> calling program and then having those changes be a part of the object, seems
> like I am just changing a copy of the object since the changes are not
> sticking. Any help with this would be greatly appreciated.

Welcome to life with PHP 4. Your code does what you want under PHP 5.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list