Posted by Good Man on 07/19/05 23:39
petermichaux@yahoo.com wrote in news:1121802375.034979.24930
@o13g2000cwo.googlegroups.com:
> Maybe I figured out my question. Does "= array()" simply create an
> default empty array if a second parameter is not supplied in the call
> to the method?
bingo.
same as
function doit ($x=11) {
//do stuff with $x
}
will give $x a default of 11 if the parameter is not supplied in the call
to the function....
Navigation:
[Reply to this message]
|