Note that hashtables in PHP may only be indexed by integers or strings; and that arrays of primitive types in Java can not be sparse.
Once a method is selected, the parameters are cooerced if necessary, possibly with a loss of data (example: double precision floating point numbers will be converted to boolean).