> On Wed, Oct 16, 2002 at 11:12:25PM -0700, Rasmus Lerdorf wrote :
> > It's not an optional arg though.  So by leaving it off, do you mean if an
> > invalid value is given?  I don't like changing args like that.
>
>     Yes I know it's not optional. But having it default to 256
>     colors makes sense if the value is not given (I think).

So you are saying you want to make it optional?  Because as it is there is
no way to not give a value.

>     Another thing I just saw: if you pass a negative value to the
>     last parameter it segfaults too ....

After my patch?  I check for <= 0

-Rasmus


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

Reply via email to