>> >> array array_uintersect_uassoc(array $array1, array $array2 [, array $ ...],
>> >> callback $data_compare_func, callback $key_compare_func)
>> The problem is in $ ... so that it cannot be solved by two different
>> protos.

Derick Rethans wrote:
> ?

If I understand correctly, array_uintersect_uassoc() accepts at least 4
parameters from which last two are callbacks and the rest are arrays. If
there will be e.g. only one optional parameter, we can of course write
two protos like

array_uintersect_uassoc(array $array1, array $array2, callback $data_compare_func, 
callback $key_compare_func)

array_uintersect_uassoc(array $array1, array $array2, array $array3, callback 
$data_compare_func, callback $key_compare_func)

but there can be indefinite number of parameters so that we cannot solve
this by writing two protos.

Jakub Vrana

Reply via email to