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