$sth->bind_param_inout(":value",\$val,0,{ora_type=ORA_NUMBER}) $sth->execute; print $val;