$qrystr = "execute procedure ……";
$res_id = ifx_query($qrystr,$conn);
if($row = ifx_fetch_row($res_id,"NEXT"))
   $value = current($row);//返回值