Re: [PHP] Specific References Incident

2002-01-10 Thread Rasmus Lerdorf
gt; > > > > > >On Thursday 10 January 2002 04:51 pm, Martin Towell wrote: > > > > >> does this work?? change > > > > >>foreach ($this->children as $child) { > > > > >> to > > > > >>foreach ($this->

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
gt; > >>foreach ($this->children as $child) { > > > >> to > > > >>foreach ($this->children as &$child) { > > > >> > > > >> > > > >> -Original Message- > > > >>

Re: [PHP] Specific References Incident

2002-01-10 Thread Rasmus Lerdorf
; > > > >On Thursday 10 January 2002 04:51 pm, Martin Towell wrote: > > >> does this work?? change > > >>foreach ($this->children as $child) { > > >> to > > >>foreach ($this->children as &$child) { > > >>

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
t; >>foreach ($this->children as $child) { > >> to > >>foreach ($this->children as &$child) { > >> > >> > >> -Original Message- > >> From: Ken Kinder [mailto:[EMAIL PROTECTED]] > >> Sent: Friday, January 11, 2002 10:44 AM >

Re: [PHP] Specific References Incident

2002-01-10 Thread Mark
t;> -Original Message- >> From: Ken Kinder [mailto:[EMAIL PROTECTED]] >> Sent: Friday, January 11, 2002 10:44 AM >> To: [EMAIL PROTECTED] >> Subject: [PHP] Specific References Incident >> >> >> I have one specific incident I could use some help wit

Re: [PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
his->children as $child) { > to > foreach ($this->children as &$child) { > > > -Original Message- > From: Ken Kinder [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 11, 2002 10:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Specific References Incident

RE: [PHP] Specific References Incident

2002-01-10 Thread Martin Towell
does this work?? change foreach ($this->children as $child) { to foreach ($this->children as &$child) { -Original Message- From: Ken Kinder [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 10:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Specific Reference

[PHP] Specific References Incident

2002-01-10 Thread Ken Kinder
I have one specific incident I could use some help with too. I have the following method: function validate() { if ($this->returning) { $errors = array(); foreach ($this->children as $child) { $child->error = "Foo"; $error = $child->validate(); if (