Mantis - Quercus
Viewing Issue Advanced Details
2208 minor always 11-28-07 00:52 11-28-07 00:59
nam  
nam  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002208: java.util.Map elements cannot be passed functions
(rep by gtong)

When calling back to java, you can't pass map or list elements as parameters because com.caucho.quercus.env.JavaListAdapter and com.caucho.quercus.env.JavaMapAdapter don't implement getArg. This was easily fixed by adding:

/**
* @see com.caucho.quercus.env.JavaAdapter#getArg(com.caucho.quercus.env.Value)
*/
public Value getArg( Value key )
{
return get( key );
}

Notes
(0002527)
nam   
11-28-07 00:59   
php/0cfg