|
From: <php...@li...> - 2008-08-19 21:46:57
|
I want send a variable that reference a Java object to a function, I tried
it on different ways, but I can not.
$map = new Java('java.util.HashMap');
$map->put('country', 'Columbia');
$this->printMapFromPHP($map);
// Receive the variable by reference
function printMapFromPHP(&$map){
// try to print, but not print
}
Thanks in advance.
|