> >> The current synopsis is:
> >> array array_uintersect_uassoc(array $array1, array $array2 [, array $ 
> >> ...,
> >> callback $data_compare_func, callback $key_compare_func])
> >>
> >> This is wrong, but I don't think livedocs/dsssl can cope with the middle
> >> params being optional.
> >>
> >> It should be:
> >> array array_uintersect_uassoc(array $array1, array $array2 [, array $ 
> >> ...,
> >> callback $data_compare_func], callback $key_compare_func)
> >
> > PHP is not supposed to have these kind of optional parameters.
>
> But it does, so your point is quite mute :)

I agree with Goba, it shouldn't, it's against PHP rules and without
rules we have chaos! BUT, one other PHP function that follows this
unfortunate syntax is dba_fetch() so have a look at its docs. Would 
doing it this way work here too?  Two different protos.

Regards,
Philip

Reply via email to