I must admit, that I am fascinated with method bind result

$stmt->bind_result($col1, $col2);

Because it can take non fixed number of arguments.
In this case those are variables, which were NOT created / declared anywhere before!

They also are referenced and get value later.

I've tried to recreate that behaviour, but failed!

PHP Code:
function xperiment()
{
   
   
$numargs func_num_args();
    
   
$arg_list func_get_args();
   
   for (
$i 0$i $numargs$i++)
   {
       
$arg_list[$i] &= rand(1100);
       
       echo 
"Argument $i is: " $arg_list[$i] . NL;
   }
   
}


xperiment($one$two$three);



echo 
"$one$two$three"
I can't even make it free of:
Code:
Notice:  Undefined variable:....
And failed to reference it!


I think it would really be a fun, to "crack it"