Results 1 to 5 of 5

Thread: PHP4: Iterate object by reference

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved PHP4: Iterate object by reference

    I know I know, 4 loses support next year but I couldn't convince my co-developers to migrate from 4 to 5 so I'm stuck; we are stuck. Anyway, I need help with

    foreach ($someArray as $someObject) {
    // Do Changes to $someObject
    }

    I can't pass the changes back to the array... Help anyone? Thanks.
    Last edited by nebulom; Jul 20th, 2007 at 04:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width