Hi,
> $ar=array(1, 2, 3);
> $v=new java("java.util.Vector", $ar);
> outputs: [o(String):"[2, 1, 3]"]
I've just commited a fix into the cvs head.
The collection is now backed by a TreeMap unless you
use something like this: array(1,2,"foo"=>3). The new
code should be a little bit faster, too.
Please see the ChangeLog, tests/sendArray.php.
Thank you very much for this bug report!
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|