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

Reply via email to