[dev] Templates: conditions in arrays (correction)
    Chuck Hagenbuch 
    chuck at horde.org
       
    Fri Sep 12 08:44:12 PDT 2003
    
    
  
Quoting Nuno Loureiro <nuno at co.sapo.pt>:
> *nod*. I just did it that way, because the single conditions were
> already that way in this class. I thought it was because of memory usage
> issues.
Although, we're already storing the array in $this->_arrays. So if we also
assign $var to $this->_ifs, PHP's reference counting should ensure that we use
no more memory than we are already using.
I'm gonna try taking it out; let me know if you disagree.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.
    
    
More information about the dev
mailing list