--TEST-- References to result sets - mysqlnd (no copies but references) --SKIPIF-- --FILE-- --EXPECTF-- array(1) refcount(%d){ [0]=> array(4) refcount(%d){ ["row_ref"]=> reference refcount(2) { NULL } ["row_copy"]=> array(2) refcount(1){ ["id"]=> string(1) "1" interned ["label"]=> string(1) "a" interned } ["id_ref"]=> reference refcount(1) { string(1) "1" interned } ["id_copy"]=> string(1) "1" interned } } array(2) refcount(%d){ [0]=> array(4) refcount(%d){ ["row_ref"]=> reference refcount(2) { NULL } ["row_copy"]=> array(2) refcount(%d){ ["id"]=> string(1) "1" interned ["label"]=> string(1) "a" interned } ["id_ref"]=> reference refcount(1) { string(1) "1" interned } ["id_copy"]=> string(1) "1" interned } [1]=> array(5) refcount(%d){ ["row_ref"]=> reference refcount(2) { array(2) refcount(1){ ["id"]=> reference refcount(2) { string(1) "2" interned } ["label"]=> string(1) "b" interned } } ["row_copy"]=> array(2) refcount(%d){ ["id"]=> string(1) "2" interned ["label"]=> string(1) "b" interned } ["id_ref"]=> reference refcount(2) { string(1) "2" interned } ["id_copy"]=> string(1) "2" interned ["id_copy_mod"]=> int(2) } } done!