In
public function bind($query, $input_param, $btypes)
{
// $input_param = $this->ref_arr($input_param); // this self assignment gives an error!
$input_ref = $this->ref_arr($input_param); // this works
}
I learned this by trial and error... but I'm trying to figure out why?
I haven't had a chance to form more test cases but if I use $input_param as in input to the function I can not return the result back to $input_param. Once I change the name to something else, in this case $input_ref it works.
ref_arr()look like?