I'm using PHP to work with a COM object and one of the COM object's function's parameters is an "out" parameter. How does PHP work with these?
Example (ModifyParam could do anything, like output the word of the day or provide an object):
$MyCom = new COM("APPLib.APP");
$outParam;
//APP.ModifyParam(out object pParam)
$MyCom->ModifyParam($outParam);
var_dump($outParam); //NULL
The example is based on actual code which outputs what would be an object array, or an array of strings. The real code isn't outputting the list though.