// What I've added function :
//
function PDO_statement_bind_columns(
$statement, &$var1,
&$var2 = null, &$var3 = null, &$var4 = null, &$var5 = null, &$var6 = null, &$var7 = null,
&$var8 = null, &$var9 = null, &$var10 = null, &$var11 = null, &$var12 = null, &$var13 = null,
&$var14 = null, &$var15 = null, &$var16 = null, &$var17 = null, &$var18 = null, &$var19 = null,
&$var20 = null, &$var21 = null, &$var22 = null, &$var23 = null, &$var24 = null, &$var25 = null,
&$var26 = null, &$var27 = null, &$var28 = null, &$var29 = null, &$var30 = null, &$var31 = null,
&$var32 = null, &$var33 = null, &$var34 = null, &$var35 = null, &$var36 = null, &$var37 = null,
&$var38 = null, &$var39 = null, &$var40 = null, &$var41 = null, &$var42 = null, &$var43 = null
)
{
$numargs = func_num_args();
for( $i = 1 ; $i < $numargs ; ++$i )
{
$argname = 'var'.$i;
if( ! $statement->bindColumn( $i, $$argname ) ) throw new \Exception("statement->bindColumn $i");
}
}