$class_name = \'MDB2_Statement_\'.$this->phptype; $statement = null; $obj =& new $class_name($this, $statement, $positions, $query, $types, $resu
Why do you even use the reference operator with objects? A object is placed in the memory and all variables bound to it will change its memory.
In other words
$a1 = new stdClass; $a2 = $a1;
would have the same affect as:
$a1 = 1000; $a2 = &$a1;