Im fully aware of diffrent ways of doing it, my question is, in the 2
ways i mentioned, which is more efficient.  Ill take the question to
the internals list. Thanks for your responses.

Jason





"Chris W. Parker" <[EMAIL PROTECTED]> wrote:
> 
> Luis Mirabal <mailto:[EMAIL PROTECTED]>
>     on Wednesday, March 10, 2004 12:30 PM said:
> 
> > i would do it this way
> > 
> > function MyClass()
> > {
> >     $this->myArray = range(0, 99);
> > }
> 
> guys (luis), guys (mike), let's not try to one-up each other...
> 
> ...
> 
> ...
> 
> but i would take it a step further. :P
> 
> function MyClass($limit = 100)
> {
>       $this->myArray = range(0, $limit-1);
> }
> 
> 
> 
> c.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to